Skip to content

Commit

Permalink
Update plugin.py
Browse files Browse the repository at this point in the history
Missed typo
  • Loading branch information
neilkplugins committed Apr 26, 2020
1 parent cb5e239 commit 29f05f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def update(self,device):
# Apply the hourly updates
device_states.append({ 'key': 'Current_Electricity_Rate', 'value' : current_tariff , 'uiValue' :str(current_tariff)+"p" })
device_states.append({ 'key': 'Current_From_Period', 'value' : current_tariff_valid_period })
device_state_append({ 'key': 'UTC_Today', 'value' : str(utctoday)})
device_states.append({ 'key': 'UTC_Today', 'value' : str(utctoday)})
device.updateStateImageOnServer(indigo.kStateImageSel.EnergyMeterOn)
# Apply State Updates to Indigo Server
device.updateStatesOnServer(device_states)
Expand Down

0 comments on commit 29f05f8

Please sign in to comment.