diff --git a/README.md b/README.md index 3acfb2b..85329c8 100644 --- a/README.md +++ b/README.md @@ -792,8 +792,8 @@ data: ieee: entity.my_thermostat_entity cluster: 0x201 attribute: occupied_heating_setpoint - attr_val: "{% set t = states('sensor.tgt_temperature') %}{{ [(t|int+50) % 2300,2000]|max\ - \ if is_number(t) else 2150 }}" + attr_val: "{% set t = states('sensor.tgt_temperature') %}{{ [(t|int+50) % 2300,2000]|max + if is_number(t) else 2150 }}" state_id: sensor.tgt_temperature allow_create: true read_before_write: false diff --git a/custom_components/zha_toolkit/neighbours.py b/custom_components/zha_toolkit/neighbours.py index 50cc815..7a91341 100644 --- a/custom_components/zha_toolkit/neighbours.py +++ b/custom_components/zha_toolkit/neighbours.py @@ -7,9 +7,10 @@ from random import uniform import zigpy.zdo.types as zdo_t -from . import utils as u from zigpy.exceptions import DeliveryError +from . import utils as u + LOGGER = logging.getLogger(__name__)