Closed MrTomek closed 1 year ago
Traceback (most recent call last):
File "/Users/lucek/Downloads/uptimekuma.30s.py", line 31, in <module>
monitor_list = api.get_monitors()
^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/uptime_kuma_api/api.py", line 1023, in get_monitors
parse_monitor_type(r)
File "/opt/homebrew/lib/python3.11/site-packages/uptime_kuma_api/api.py", line 72, in parse_monitor_type
parse_value(data, "type", MonitorType)
File "/opt/homebrew/lib/python3.11/site-packages/uptime_kuma_api/api.py", line 57, in parse_value
parse_value(d, key, type_, default)
File "/opt/homebrew/lib/python3.11/site-packages/uptime_kuma_api/api.py", line 61, in parse_value
data[key] = type_(data[key])
^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.11/3.11.4/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py", line 711, in __call__
return cls.__new__(cls, value)
^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.11/3.11.4/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py", line 1128, in __new__
raise ve_exc
ValueError: 'group' is not a valid MonitorType
Thanks. As described in the README, the latest supported Uptime Kuma version is 1.21.3. When I have time, I'll implement the upstream changes to support Uptime Kuma 1.22.
Uptime kuma 1.22.1 is supported in version 1.1.0.