mirror of
https://github.com/alexhopeoconnor/SunGather.git
synced 2026-10-04 02:48:12 +10:00
fix is_running to allow it to stop running
This commit is contained in:
@@ -92,8 +92,7 @@ def scrape_inverter():
|
||||
if inverter.get('start_stop', False) == 'Start' and inverter.get('work_state_1', False) == 'Run':
|
||||
inverter["is_running"] = True
|
||||
else:
|
||||
if inverter.get('start_stop') == 'Stop':
|
||||
inverter["is_running"] = False
|
||||
inverter["is_running"] = False
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
__version__ = '0.2.0'
|
||||
__version__ = '0.2.1'
|
||||
Reference in New Issue
Block a user