Skip to content

Commit

Permalink
fix error in FIP for Wiser3
Browse files Browse the repository at this point in the history
  • Loading branch information
pipiche38 committed Feb 19, 2025
1 parent cd4c51a commit 9cacaa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/schneider_wiser.py
Original file line number Diff line number Diff line change
Expand Up @@ -636,14 +636,14 @@ def schneider_hact_heater_type_wiser2(self, nwkid: str, type_heater: str) -> Non

# Determine the correct pilot mode
pilot_mode = FIP_PILOT_MODE if type_heater.lower() == "fip" else DEFAULT_PILOT_MODE
self.log.logging( "Schneider", "Debug", "Determined pilot_mode: %s", hex(pilot_mode), nwkid=nwkid )
self.log.logging( "Schneider", "Debug", "Determined pilot_mode: %s" %pilot_mode, nwkid=nwkid )

# Write the attribute to configure the heater
self.log.logging(
"Schneider",
"Debug",
"Writing attribute with params: CLUSTER=%s, MANUF_ID=%s, ATTRIBUTE=%s, DATA_TYPE=%s, VALUE=%s",
SCHNEIDER_SPECIFIC_PILOT_MODE_CLUSTER, SCHNEIDER_MANUF_ID, PILOT_MODE_ATTRIBUTE, PILOT_MODE_DATA_TYPE, hex(pilot_mode),
SCHNEIDER_SPECIFIC_PILOT_MODE_CLUSTER, SCHNEIDER_MANUF_ID, PILOT_MODE_ATTRIBUTE, PILOT_MODE_DATA_TYPE, pilot_mode,
nwkid=nwkid)

write_attribute(
Expand Down

0 comments on commit 9cacaa9

Please sign in to comment.