Skip to content

Commit

Permalink
Fix break du to sw sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
aneisch committed May 11, 2024
1 parent 031bf1d commit d3445a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thermostat_api_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
thermostat_state_topic = f"homeassistant/climate/{thermostat_name}/state"
thermostat_serial = os.environ['THERMOSTAT_SERIAL']

device = {"mdl": "TSTAT0201CW", "sw": None, "mf": "Observer", "ids": thermostat_serial, "name": thermostat_name}
device = {"mdl": "TSTAT0201CW", "sw": "Unknown", "mf": "Observer", "ids": thermostat_serial, "name": thermostat_name}

climate_configuration_payload = {
"act_t": thermostat_state_topic,
Expand Down

0 comments on commit d3445a2

Please sign in to comment.