Skip to content

Commit

Permalink
cosmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
pipiche38 committed Jan 14, 2025
1 parent 47d9369 commit 2a55605
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions DevicesModules/custom_zlinky.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
from Modules.readAttributes import ReadAttributeReq_Scheduled_ZLinky
from Modules.tools import checkAndStoreAttributeValue, getAttributeValue
from Modules.zlinky import (ZLINK_CONF_MODEL, ZLinky_TIC_COMMAND,
convert_kva_to_ampere, decode_STEG, get_OPTARIF,get_ptec,
get_tarif_color, linky_mode, store_ZLinky_infos,
convert_kva_to_ampere, decode_STEG, get_OPTARIF,
get_ptec, get_tarif_color, linky_mode,
store_ZLinky_infos,
update_zlinky_device_model_if_needed,
zlinky_check_alarm, zlinky_color_tarif,
zlinky_totalisateur)
Expand Down Expand Up @@ -85,7 +86,7 @@ def _zlinky_update_color(nwkid, previous_color, new_color):

ptect_value = get_ptec(self, nwkid)
if ptect_value != new_color:
### Looks like the PTEC info is not aligned with the current color !
# Looks like the PTEC info is not aligned with the current color !
self.log.logging("ZLinky", "Status", f"Requesting PTEC as not inline {ptect_value} to {previous_color}/{new_color}", nwkid)
ReadAttributeReq_Scheduled_ZLinky(self, nwkid)

Expand Down

0 comments on commit 2a55605

Please sign in to comment.