Skip to content

Commit

Permalink
Fix Error in Thermostat MQTT Library Preventing User Specified Topics (
Browse files Browse the repository at this point in the history
  • Loading branch information
krkeegan authored Feb 15, 2020
1 parent cecafa2 commit f2b05aa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions insteon_mqtt/mqtt/Thermostat.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,13 @@ def load_config(self, config, qos=None):
'hold_state_payload', qos)
self.energy_state.load_config(data, 'energy_state_topic',
'energy_state_payload', qos)
self.mode_command.load_config(config, 'mode_command_topic',
self.mode_command.load_config(data, 'mode_command_topic',
'mode_command_payload', qos)
self.fan_command.load_config(config, 'fan_command_topic',
self.fan_command.load_config(data, 'fan_command_topic',
'fan_command_payload', qos)
self.heat_sp_command.load_config(config, 'heat_sp_command_topic',
self.heat_sp_command.load_config(data, 'heat_sp_command_topic',
'heat_sp_command_payload', qos)
self.cool_sp_command.load_config(config, 'cool_sp_command_topic',
self.cool_sp_command.load_config(data, 'cool_sp_command_topic',
'cool_sp_command_payload', qos)

#-----------------------------------------------------------------------
Expand Down

0 comments on commit f2b05aa

Please sign in to comment.