mirror of
https://github.com/fmtr/haco.git
synced 2026-10-26 19:01:51 -04:00
Add unpicking comments
This commit is contained in:
parent
77214fa26b
commit
e6ea78ab49
3 changed files with 4 additions and 3 deletions
|
|
@ -22,7 +22,7 @@ class Climate(Control):
|
|||
),
|
||||
Capability(
|
||||
name='temperature',
|
||||
alias='target_temperature'
|
||||
alias='target_temperature' # only used for callbacks, i guess to unify/simplify them for the user.
|
||||
),
|
||||
Capability(
|
||||
name='temperature_high'
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
import aiomqtt
|
||||
import asyncio
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
import aiomqtt
|
||||
|
||||
from haco import constants, tools
|
||||
from haco.constants import MQTT_PASSWORD, MQTT_HOST, MQTT_PORT, MQTT_USERNAME
|
||||
from haco.device import Device
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ class Platform:
|
|||
if not self.callback:
|
||||
return {}
|
||||
|
||||
return {self.get_topic_subscription(): self.get_handler_name()}
|
||||
return {self.get_topic_subscription(): self.get_handler_name()} # I think this is as such because it needs to invert the subscription. so one platform gets the other's messages?
|
||||
|
||||
def get_config_ha(self):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue