jeroenterheerdt / HAsmartirrigation

Smart Irrigation custom component for Home Assistant
MIT License
301 stars 47 forks source link

Smart Irrigation stopped working (It worked before) #341

Closed fok35 closed 1 month ago

fok35 commented 1 month ago

What happened?

Smart Irrigation stopped working

Reinstallation results in this: image image image image

How to reproduce

Can be reproduced by reinstallation > Sidebar don't show up

Relevant log output

2024-04-08 15:06:49.791 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration smart_irrigation which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-04-08 15:06:49.793 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-04-08 15:06:54.455 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/hacs/frontend.py, line 68: hass.components.frontend.async_register_built_in_panel(, please create a bug report at https://github.com/hacs/integration/issues
2024-04-08 15:07:47.711 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Smart Irrigation for smart_irrigation
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 551, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/smart_irrigation/__init__.py", line 72, in async_setup_entry
    store = await async_get_registry(hass)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/smart_irrigation/store.py", line 645, in async_get_registry
    return cast(SmartIrrigationStorage, await task)
                                        ^^^^^^^^^^
  File "/config/custom_components/smart_irrigation/store.py", line 640, in _load_reg
    await registry.async_load()
  File "/config/custom_components/smart_irrigation/store.py", line 269, in async_load
    inst = m(self.hass, modconfig)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/smart_irrigation/calcmodules/static/__init__.py", line 21, in __init__
    super().__init__(name="Static", description=localize("calcmodules.static.description",hass.config.language)+".", config=config, schema=SCHEMA)
  File "/config/custom_components/smart_irrigation/calcmodules/calcmodule.py", line 26, in __init__
    raise e
  File "/config/custom_components/smart_irrigation/calcmodules/calcmodule.py", line 24, in __init__
    self._schema(config)
  File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 272, in __call__
    return self._compiled([], data)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 595, in validate_dict
    return base_validate(path, iteritems(data), out)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 433, in validate_mapping
    raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: expected float for dictionary value @ data['delta']
2024-04-08 15:10:37.836 DEBUG (SyncWorker_1) [custom_components.smart_irrigation.OWMClient] OWMClient get_data called API https://api.openweathermap.org/data/3.0/onecall?units=metric&lat=52.353218&lon=5.0027695&appid=839b02be3c56f7ef133905d3f45a79d5 and received {'lat': 52.3532, 'lon': 5.0028, 'timezone': 'Europe/Amsterdam', 'timezone_offset': 7200, 'current': {'dt': 1712581837, 'sunrise': 1712552244, 'sunset': 1712600740, 'temp': 17.58, 'feels_like': 17.27, 'pressure': 1005, 'humidity': 72, 'dew_point': 12.48, 'uvi': 2.12, 'clouds': 20, 'visibility': 10000, 'wind_speed': 3.6, 'wind_deg': 160, 'weather': [{'id': 801, 'main': 'Clouds', 'description': 'few clouds', 'icon': '02d'}]}, 'minutely': [{'dt': 1712581860, 'precipitation': 0}, {'dt': 1712581920, 'precipitation': 0}, {'dt': 1712581980, 'precipitation': 0}, {'dt': 1712582040, 'precipitation': 0}, {'dt': 1712582100, 'precipitation': 0}, {'dt': 1712582160, 'precipitation': 0}, {'dt': 1712582220, 'precipitation': 0}, {'dt': 1712582280, 'precipitation': 0}, {'dt': 1712582340, 'precipitation': 0}, {'dt': 1712582400, 'precipitation': 0}, {'dt': 1712582460, 'precipitation': 0}, {'dt': 1712582520, 'precipitation': 0}, {'dt': 1712582580, 'precipitation': 0}, {'dt': 1712582640, 'precipitation': 0}, {'dt': 1712582700, 'precipitation': 0}, {'dt': 1712582760, 'precipitation': 0}, {'dt': 1712582820, 'precipitation': 0}, {'dt': 1712582880, 'precipitation': 0}, {'dt': 1712582940, 'precipitation': 0}, {'dt': 1712583000, 'precipitation': 0}, {'dt': 1712583060, 'precipitation': 0}, {'dt': 1712583120, 'precipitation': 0}, {'dt': 1712583180, 'precipitation': 0}, {'dt': 1712583240, 'precipitation': 0}, {'dt': 1712583300, 'precipitation': 0}, {'dt': 1712583360, 'precipitation': 0}, {'dt': 1712583420, 'precipitation': 0}, {'dt': 1712583480, 'precipitation': 0}, {'dt': 1712583540, 'precipitation': 0}, {'dt': 1712583600, 'precipitation': 0}, {'dt': 1712583660, 'precipitation': 0}, {'dt': 1712583720, 'precipitation': 0}, {'dt': 1712583780, 'precipitation': 0}, {'dt': 1712583840, 'precipitation': 0}, {'dt': 1712583900, 'precipitation': 0}, {'dt': 1712583960, 'precipitation': 0}, {'dt': 1712584020, 'precipitation': 0}, {'dt': 1712584080, 'precipitation': 0}, {'dt': 1712584140, 'precipitation': 0}, {'dt': 1712584200, 'precipitation': 0}, {'dt': 1712584260, 'precipitation': 0}, {'dt': 1712584320, 'precipitation': 0}, {'dt': 1712584380, 'precipitation': 0}, {'dt': 1712584440, 'precipitation': 0}, {'dt': 1712584500, 'precipitation': 0}, {'dt': 1712584560, 'precipitation': 0}, {'dt': 1712584620, 'precipitation': 0}, {'dt': 1712584680, 'precipitation': 0}, {'dt': 1712584740, 'precipitation': 0}, {'dt': 1712584800, 'precipitation': 0}, {'dt': 1712584860, 'precipitation': 0}, {'dt': 1712584920, 'precipitation': 0}, {'dt': 1712584980, 'precipitation': 0}, {'dt': 1712585040, 'precipitation': 0}, {'dt': 1712585100, 'precipitation': 0}, {'dt': 1712585160, 'precipitation': 0}, {'dt': 1712585220, 'precipitation': 0}, {'dt': 1712585280, 'precipitation': 0}, {'dt': 1712585340, 'precipitation': 0}, {'dt': 1712585400, 'precipitation': 0}], 'hourly': [{'dt': 1712581200, 'temp': 17.58, 'feels_like': 17.27, 'pressure': 1005, 'humidity': 72, 'dew_point': 12.48, 'uvi': 2.12, 'clouds': 20, 'visibility': 10000, 'wind_speed': 3.29, 'wind_deg': 177, 'wind_gust': 5.55, 'weather': [{'id': 801, 'main': 'Clouds', 'description': 'few clouds', 'icon': '02d'}], 'pop': 0}, {'dt': 1712584800, 'temp': 17.39, 'feels_like': 17.09, 'pressure': 1005, 'humidity': 73, 'dew_point': 12.51, 'uvi': 1.34, 'clouds': 36, 'visibility': 10000, 'wind_speed': 3.3, 'wind_deg': 167, 'wind_gust': 5.7, 'weather': [{'id': 802, 'main': 'Clouds', 'description': 'scattered clouds', 'icon': '03d'}], 'pop': 0.19}, {'dt': 1712588400, 'temp': 17.47, 'feels_like': 17.13, 'pressure': 1005, 'humidity': 71, 'dew_point': 12.16, 'uvi': 0.7, 'clouds': 52, 'visibility': 10000, 'wind_speed': 3.32, 'wind_deg': 160, 'wind_gust': 5.26, 'weather': [{'id': 803, 'main': 'Clouds', 'description': 'broken clouds', 'icon': '04d'}], 'pop': 0.39}, {'dt': 1712592000, 'temp': 17.25, 'feels_like': 16.99, 'pressure': 1005, 'humidity': 75, 'dew_point': 12.78, 'uvi': 0.62, 'clouds': 66, 'visibility': 10000, 'wind_speed': 3.09, 'wind_deg': 144, 'wind_gust': 5.51, 'weather': [{'id': 500, 'main': 'Rain', 'description': 'light rain', 'icon': '10d'}], 'pop': 0.71, 'rain': {'1h': 0.3}}, {'dt': 1712595600, 'temp': 16.36, 'feels_like': 16.22, 'pressure': 1005, 'humidity': 83, 'dew_point': 13.47, 'uvi': 0.13, 'clouds': 82, 'visibility': 5949, 'wind_speed': 1.81, 'wind_deg': 136, 'wind_gust': 3.96, 'weather': [{'id': 500, 'main': 'Rain', 'description': 'light rain', 'icon': '10d'}], 'pop': 1, 'rain': {'1h': 0.8}}, {'dt': 1712599200, 'temp': 14.34, 'feels_like': 14.23, 'pressure': 1005, 'humidity': 92, 'dew_point': 13.16, 'uvi': 0, 'clouds': 97, 'visibility': 10000, 'wind_speed': 1.2, 'wind_deg': 285, 'wind_gust': 1, 'weather': [{'id': 501, 'main': 'Rain', 'description': 'moderate rain', 'icon': '10d'}], 'pop': 1, 'rain': {'1h': 3.05}}, {'dt': 1712602800, 'temp': 13.54, 'feels_like': 13.4, 'pressure': 1004, 'humidity': 94, 'dew_point': 12.66, 'uvi': 0, 'clouds': 89, 'visibility': 10000, 'wind_speed': 2.49, 'wind_deg': 86, 'wind_gust': 3.55, 'weather': [{'id': 804, 'main': 'Clouds', 'description': 'overcast clouds', 'icon': '04n'}], 'pop': 0.1}, {'dt': 1712606400, 'temp': 13.11, 'feels_like': 12.93, 'pressure': 1004, 'humidity': 94, 'dew_point': 12.19, 'uvi': 0, 'clouds': 72, 'visibility': 10000, 'wind_speed': 2.61, 'wind_deg': 108, 'wind_gust': 5.76, 'weather': [{'id': 803, 'main': 'Clouds', 'description': 'broken clouds', 'icon': '04n'}], 'pop': 0.02}, {'dt': 1712610000, 'temp': 12.81, 'feels_like': 12.6, 'pressure': 1004, 'humidity': 94, 'dew_point': 11.92, 'uvi': 0, 'clouds': 81, 'visibility': 10000, 'wind_speed': 2.33, 'wind_deg': 142, 'wind_gust': 5.91, 'weather': [{'id': 500, 'main': 'Rain', 'description': 'light rain', 'icon': '10n'}], 'pop': 0.66, 'rain': {'1h': 0.33}}, {'dt': 1712613600, 'temp': 12.61, 'feels_like': 12.43, 'pressure': 1004, 'humidity': 96, 'dew_point': 12.02, 'uvi': 0, 'clouds': 86, 'visibility': 10000, 'wind_speed': 3.01, 'wind_deg': 154, 'wind_gust': 8.92, 'weather': [{'id': 500, 'main': 'Rain', 'description': 'light rain', 'icon': '10n'}], 'pop': 0.9, 'rain': {'1h': 0.28}}, {'dt': 1712617200, 'temp': 12.74, 'feels_like': 12.6, 'pressure': 1003, 'humidity': 97, 'dew_point': 12.25, 'uvi': 0, 'clouds': 89, 'visibility': 10000, 'wind_speed': 2.84, 'wind_deg': 128, 'wind_gust': 8.63, 'weather': [{'id': 500, 'main': 'Rain', 'description': 'light rain', 'icon': '10n'}], 'pop': 0.98, 'rain': {'1h': 0.18}}, {'dt': 1712620800, 'temp': 13.07, 'feels_like': 12.94, 'pressure': 1002, 'humidity': 96, 'dew_point': 12.3, 'uvi': 0, 'clouds': 91, 'visibility': 10000, 'wind_speed': 3.4, 'wind_deg': 144, 'wind_gust': 9.81, 'weather': [{'id': 804, 'main': 'Clouds', 'description': 'overcast clouds', 'icon': '04n'}], 'pop': 0.85}, {'dt': 1712624400, 'temp': 13.45, 'feels_like': 13.36, 'pressure': 1002, 'humidity': 96, 'dew_point': 12.81, 'uvi': 0, 'clouds': 100, 'visibility': 10000, 'wind_speed': 4.02, 'wind_deg': 191, 'wind_gust': 11.4, 'weather': [{'id': 804, 'main': 'Clouds', 'description': 'overcast clouds', 'icon': '04n'}], 'pop': 0}, {'dt': 1712628000, 'temp': 13.72, 'feels_like': 13.63, 'pressure': 1003, 'humidity': 95, 'dew_point': 12.94, 'uvi': 0, 'clouds': 100, 'visibility': 10000, 'wind_speed': 4.77, 'wind_deg': 221, 'wind_gust': 9.97, 'weather': [{'id': 804, 'main': 'Clouds', 'description': 'overcast clouds', 'icon': '04n'}], 'pop': 0.36}, {'dt': 1712631600, 'temp': 11.11, 'feels_like': 10.68, 'pressure': 1004, 'humidity': 92, 'dew_point': 9.85, 'uvi': 0, 'clouds': 100, 'visibility': 10000, 'wind_speed': 5.95, 'wind_deg': 242, 'wind_gust': 11.5, 'weather': [{'id': 500, 'main': 'Rain', 'description': 'light rain', 'icon': '10n'}], 'pop': 0.97, 'rain': {'1h': 0.87}}, {'dt': 1712635200, 'temp': 10.17, 'feels_like': 9.62, 'pressure': 1005, 'humidity': 91, 'dew_point': 8.66, 'uvi': 0, 'clouds': 100, 'visibility': 10000, 'wind_speed': 5.64, 'wind_deg': 236, 'wind_gust': 11.94, 'weather': [{'id': 804, 'main': 'Clouds', 'description': 'overcast clouds', 'icon': '04n'}], 'pop': 0.76}, {'dt': 1712638800, 'temp': 9.82, 'feels_like': 7.42, 'pressure': 1005, 'humidity': 89, 'dew_point': 8.15, 'uvi': 0, 'clouds': 100, 'visibility': 10000, 'wind_speed': 4.86, 'wind_deg': 230, 'wind_gust': 11.39, 'weather': [{'id': 804, 'main': 'Clouds', 'description': 'overcast clouds', 'icon': '04d'}], 'pop': 0.81}, {'dt': 1712642400, 'temp': 9.6, 'feels_like': 6.76, 'pressure': 1006, 'humidity': 85, 'dew_point': 7.2, 'uvi': 0.14, 'clouds': 100, 'visibility': 10000, 'wind_speed': 5.93, 'wind_deg': 217, 'wind_gust': 11.6, 'weather': [{'id': 804, 'main': 'Clouds', 'description': 'overcast clouds', 'icon': '04d'}], 'pop': 0.7}, {'dt': 1712646000, 'temp': 8.81, 'feels_like': 5.49, 'pressure': 1007, 'humidity': 81, 'dew_point': 5.79, 'uvi': 0.53, 'clouds': 100, 'visibility': 10000, 'wind_speed': 6.75, 'wind_deg': 206, 'wind_gust': 13.71, 'weather': [{'id': 804, 'main': 'Clouds', 'description': 'overcast clouds', 'icon': '04d'}], 'pop': 0}, {'dt': 1712649600, 'temp': 9.31, 'feels_like': 6.05, 'pressure': 1007, 'humidity': 75, 'dew_point': 5.18, 'uvi': 1.08, 'clouds': 100, 'visibility': 10000, 'wind_speed': 7.02, 'wind_deg': 210, 'wind_gust': 13.56, 'weather': [{'id': 804, 'main': 'Clouds', 'description': 'overcast clouds', 'icon': '04d'}], 'pop': 0}, {'dt': 1712653200, 'temp': 10.69, 'feels_like': 9.56, 'pressure': 1007, 'humidity': 67, 'dew_point': 4.7, 'uvi': 1.56, 'clouds': 100, 'visibility': 10000, 'wind_speed': 7.56, 'wind_deg': 212, 'wind_gust': 13.75, 'weather': [{'id': 804, 'main': 'Clouds', 'description': 'overcast clouds', 'icon': '04d'}], 'pop': 0}, {'dt': 1712656800, 'temp': 10.52, 'feels_like': 9.3, 'pressure': 1007, 'humidity': 64, 'dew_point': 4.12, 'uvi': 1.32, 'clouds': 100, 'visibility': 10000, 'wind_speed': 7.63, 'wind_deg': 206, 'wind_gust': 14.06, 'weather': [{'id': 804, 'main': 'Clouds', 'description': 'overcast clouds', 'icon': '04d'}], 'pop': 0}, {'dt': 1712660400, 'temp': 10.99, 'feels_like': 9.79, 'pressure': 1008, 'humidity': 63, 'dew_point': 4.21, 'uvi': 1.61, 'clouds': 100, 'visibility': 10000, 'wind_speed': 8.12, 'wind_deg': 201, 'wind_gust': 14.9, 'weather': [{'id': 804, 'main': 'Clouds', 'description': 'overcast clouds', 'icon': '04d'}], 'pop': 0}, {'dt': 1712664000, 'temp': 11.9, 'feels_like': 10.79, 'pressure': 1007, 'humidity': 63, 'dew_point': 5.14, 'uvi': 1.99, 'clouds': 100, 'visibility': 10000, 'wind_speed': 8.09, 'wind_deg': 210, 'wind_gust': 14.55, 'weather': [{'id': 804, 'main': 'Clouds', 'description': 'overcast clouds', 'icon': '04d'}], 'pop': 0}, {'dt': 1712667600, 'temp': 12.11, 'feels_like': 11.05, 'pressure': 1008, 'humidity': 64, 'dew_point': 5.64, 'uvi': 1.39, 'clouds': 100, 'visibility': 10000, 'wind_speed': 7.7, 'wind_deg': 218, 'wind_gust': 14.48, 'weather': [{'id': 804, 'main': 'Clouds', 'description': 'overcast clouds', 'icon': '04d'}], 'pop': 0}, {'dt': 1712671200, 'temp': 10.52, 'feels_like': 9.43, 'pressure': 1009, 'humidity': 69, 'dew_point': 5.2, 'uvi': 1.21, 'clouds': 99, 'visibility': 10000, 'wind_speed': 7.79, 'wind_deg': 222, 'wind_gust': 15.49, 'weather': [{'id': 804, 'main': 'Clouds', 'description': 'overcast clouds', 'icon': '04d'}], 'pop': 0}, {'dt': 1712674800, 'temp': 11.35, 'feels_like': 10.26, 'pressure': 1009, 'humidity': 66, 'dew_point': 5.33, 'uvi': 1.23, 'clouds': 69, 'visibility': 10000, 'wind_speed': 8.06, 'wind_deg': 231, 'wind_gust': 14.39, 'weather': [{'id': 803, 'main': 'Clouds', 'description': 'broken clouds', 'icon': '04d'}], 'pop': 0}, {'dt': 1712678400, 'temp': 10.19, 'feels_like': 9.2, 'pressure': 1010, 'humidity': 74, 'dew_point': 5.82, 'uvi': 0.72, 'clouds': 77, 'visibility': 10000, 'wind_speed': 7.43, 'wind_deg': 233, 'wind_gust': 13.62, 'weather': [{'id': 803, 'main': 'Clouds', 'description': 'broken clouds', 'icon': '04d'}], 'pop': 0}, {'dt': 1712682000, 'temp': 9.97, 'feels_like': 6.69, 'pressure': 1010, 'humidity': 74, 'dew_point': 5.58, 'uvi': 0.27, 'clouds': 80, 'visibility': 10000, 'wind_speed': 7.77, 'wind_deg': 233, 'wind_gust': 14.01, 'weather': [{'id': 500, 'main': 'Rain', 'description': 'light rain', 'icon': '10d'}], 'pop': 0.2, 'rain': {'1h': 0.11}}, {'dt': 1712685600, 'temp': 9.33, 'feels_like': 6.03, 'pressure': 1011, 'humidity': 75, 'dew_point': 5.13, 'uvi': 0, 'clouds': 73, 'visibility': 10000, 'wind_speed': 7.18, 'wind_deg': 229, 'wind_gust': 13.44, 'weather': [{'id': 803, 'main': 'Clouds', 'description': 'broken clouds', 'icon': '04d'}], 'pop': 0}, {'dt': 1712689200, 'temp': 9.39, 'feels_like': 6.09, 'pressure': 1012, 'humidity': 75, 'dew_point': 5.17, 'uvi': 0, 'clouds': 98, 'visibility': 10000, 'wind_speed': 7.22, 'wind_deg': 232, 'wind_gust': 13.85, 'weather': [{'id': 500, 'main': 'Rain', 'description': 'light rain', 'icon': '10n'}], 'pop': 0.58, 'rain': {'1h': 0.11}}, {'dt': 1712692800, 'temp': 8.97, 'feels_like': 5.48, 'pressure': 1013, 'humidity': 81, 'dew_point': 6.01, 'uvi': 0, 'clouds': 100, 'visibility': 10000, 'wind_speed': 7.48, 'wind_deg': 248, 'wind_gust': 12.32, 'weather': [{'id': 500, 'main': 'Rain', 'description': 'light rain', 'icon': '10n'}], 'pop': 0.77, 'rain': {'1h': 0.1}}, {'dt': 1712696400, 'temp': 8.45, 'feels_like': 5.17, 'pressure': 1014, 'humidity': 88, 'dew_point': 6.47, 'uvi': 0, 'clouds': 100, 'visibility': 10000, 'wind_speed': 6.32, 'wind_deg': 274, 'wind_gust': 10.91, 'weather': [{'id': 500, 'main': 'Rain', 'description': 'light rain', 'icon': '10n'}], 'pop': 0.88, 'rain': {'1h': 0.17}}, {'dt': 1712700000, 'temp': 8.17, 'feels_like': 4.9, 'pressure': 1016, 'humidity': 87, 'dew_point': 6.16, 'uvi': 0, 'clouds': 100, 'visibility': 10000, 'wind_speed': 6.05, 'wind_deg': 278, 'wind_gust': 11.08, 'weather': [{'id': 500, 'main': 'Rain', 'description': 'light rain', 'icon': '10n'}], 'pop': 1, 'rain': {'1h': 0.25}}, {'dt': 1712703600, 'temp': 8.12, 'feels_like': 5.15, 'pressure': 1017, 'humidity': 84, 'dew_point': 5.54, 'uvi': 0, 'clouds': 100, 'visibility': 10000, 'wind_speed': 5.21, 'wind_deg': 280, 'wind_gust': 10.23, 'weather': [{'id': 804, 'main': 'Clouds', 'description': 'overcast clouds', 'icon': '04n'}], 'pop': 0.8}, {'dt': 1712707200, 'temp': 8.04, 'feels_like': 4.97, 'pressure': 1018, 'humidity': 85, 'dew_point': 5.8, 'uvi': 0, 'clouds': 100, 'visibility': 10000, 'wind_speed': 5.43, 'wind_deg': 288, 'wind_gust': 10.4, 'weather': [{'id': 500, 'main': 'Rain', 'description': 'light rain', 'icon': '10n'}], 'pop': 1, 'rain': {'1h': 0.14}}, {'dt': 1712710800, 'temp': 7.8, 'feels_like': 4.86, 'pressure': 1019, 'humidity': 83, 'dew_point': 5.08, 'uvi': 0, 'clouds': 84, 'visibility': 10000, 'wind_speed': 4.95, 'wind_deg': 290, 'wind_gust': 10.39, 'weather': [{'id': 803, 'main': 'Clouds', 'description': 'broken clouds', 'icon': '04n'}], 'pop': 0}, {'dt': 1712714400, 'temp': 7.13, 'feels_like': 4.79, 'pressure': 1020, 'humidity': 85, 'dew_point': 4.8, 'uvi': 0, 'clouds': 54, 'visibility': 10000, 'wind_speed': 3.43, 'wind_deg': 279, 'wind_gust': 8.57, 'weather': [{'id': 803, 'main': 'Clouds', 'description': 'broken clouds', 'icon': '04n'}], 'pop': 0}, {'dt': 1712718000, 'temp': 6.65, 'feels_like': 4.33, 'pressure': 1022, 'humidity': 90, 'dew_point': 5.09, 'uvi': 0, 'clouds': 40, 'visibility': 10000, 'wind_speed': 3.24, 'wind_deg': 268, 'wind_gust': 8.8, 'weather': [{'id': 802, 'main': 'Clouds', 'description': 'scattered clouds', 'icon': '03n'}], 'pop': 0}, {'dt': 1712721600, 'temp': 7.41, 'feels_like': 4.63, 'pressure': 1023, 'humidity': 85, 'dew_point': 5.19, 'uvi': 0, 'clouds': 50, 'visibility': 10000, 'wind_speed': 4.38, 'wind_deg': 275, 'wind_gust': 9.12, 'weather': [{'id': 802, 'main': 'Clouds', 'description': 'scattered clouds', 'icon': '03n'}], 'pop': 0}, {'dt': 1712725200, 'temp': 6.44, 'feels_like': 4.03, 'pressure': 1023, 'humidity': 88, 'dew_point': 4.54, 'uvi': 0, 'clouds': 46, 'visibility': 10000, 'wind_speed': 3.31, 'wind_deg': 261, 'wind_gust': 8.02, 'weather': [{'id': 802, 'main': 'Clouds', 'description': 'scattered clouds', 'icon': '03d'}], 'pop': 0}, {'dt': 1712728800, 'temp': 7.07, 'feels_like': 4.8, 'pressure': 1024, 'humidity': 84, 'dew_point': 4.64, 'uvi': 0.08, 'clouds': 44, 'visibility': 10000, 'wind_speed': 3.3, 'wind_deg': 260, 'wind_gust': 7.43, 'weather': [{'id': 802, 'main': 'Clouds', 'description': 'scattered clouds', 'icon': '03d'}], 'pop': 0}, {'dt': 1712732400, 'temp': 8.26, 'feels_like': 5.86, 'pressure': 1025, 'humidity': 76, 'dew_point': 4.36, 'uvi': 0.19, 'clouds': 35, 'visibility': 10000, 'wind_speed': 4, 'wind_deg': 263, 'wind_gust': 6.65, 'weather': [{'id': 802, 'main': 'Clouds', 'description': 'scattered clouds', 'icon': '03d'}], 'pop': 0}, {'dt': 1712736000, 'temp': 9.05, 'feels_like': 6.52, 'pressure': 1027, 'humidity': 67, 'dew_point': 3.32, 'uvi': 0.47, 'clouds': 51, 'visibility': 10000, 'wind_speed': 4.7, 'wind_deg': 270, 'wind_gust': 6.91, 'weather': [{'id': 803, 'main': 'Clouds', 'description': 'broken clouds', 'icon': '04d'}], 'pop': 0}, {'dt': 1712739600, 'temp': 10.19, 'feels_like': 8.78, 'pressure': 1027, 'humidity': 58, 'dew_point': 2.24, 'uvi': 1.29, 'clouds': 46, 'visibility': 10000, 'wind_speed': 3.98, 'wind_deg': 263, 'wind_gust': 5.66, 'weather': [{'id': 802, 'main': 'Clouds', 'description': 'scattered clouds', 'icon': '03d'}], 'pop': 0}, {'dt': 1712743200, 'temp': 11.11, 'feels_like': 9.58, 'pressure': 1027, 'humidity': 50, 'dew_point': 1, 'uvi': 3.12, 'clouds': 37, 'visibility': 10000, 'wind_speed': 4.7, 'wind_deg': 263, 'wind_gust': 6.42, 'weather': [{'id': 802, 'main': 'Clouds', 'description': 'scattered clouds', 'icon': '03d'}], 'pop': 0}, {'dt': 1712746800, 'temp': 11.62, 'feels_like': 9.99, 'pressure': 1028, 'humidity': 44, 'dew_point': -0.11, 'uvi': 3.71, 'clouds': 37, 'visibility': 10000, 'wind_speed': 4.71, 'wind_deg': 257, 'wind_gust': 6.15, 'weather': [{'id': 802, 'main': 'Clouds', 'description': 'scattered clouds', 'icon': '03d'}], 'pop': 0}, {'dt': 1712750400, 'temp': 11.86, 'feels_like': 10.22, 'pressure': 1028, 'humidity': 43, 'dew_point': -0.38, 'uvi': 3.83, 'clouds': 47, 'visibility': 10000, 'wind_speed': 4.84, 'wind_deg': 260, 'wind_gust': 6.2, 'weather': [{'id': 802, 'main': 'Clouds', 'description': 'scattered clouds', 'icon': '03d'}], 'pop': 0}], 'daily': [{'dt': 1712574000, 'sunrise': 1712552244, 'sunset': 1712600740, 'moonrise': 1712552040, 'moonset': 1712600520, 'moon_phase': 0, 'summary': 'Expect a day of partly cloudy with rain', 'temp': {'day': 16.17, 'min': 12, 'max': 17.58, 'night': 12.81, 'eve': 16.36, 'morn': 12.36}, 'feels_like': {'day': 15.85, 'night': 12.6, 'eve': 16.22, 'morn': 11.87}, 'pressure': 1007, 'humidity': 77, 'dew_point': 12.14, 'wind_speed': 3.32, 'wind_deg': 160, 'wind_gust': 5.91, 'weather': [{'id': 501, 'main': 'Rain', 'description': 'moderate rain', 'icon': '10d'}], 'clouds': 52, 'pop': 1, 'rain': 4.85, 'uvi': 2.61}, {'dt': 1712660400, 'sunrise': 1712638507, 'sunset': 1712687244, 'moonrise': 1712639160, 'moonset': 1712692500, 'moon_phase': 0.03, 'summary': 'Expect a day of partly cloudy with rain', 'temp': {'day': 10.99, 'min': 8.45, 'max': 13.72, 'night': 8.45, 'eve': 9.97, 'morn': 9.82}, 'feels_like': {'day': 9.79, 'night': 5.17, 'eve': 6.69, 'morn': 7.42}, 'pressure': 1008, 'humidity': 63, 'dew_point': 4.21, 'wind_speed': 8.12, 'wind_deg': 201, 'wind_gust': 15.49, 'weather': [{'id': 500, 'main': 'Rain', 'description': 'light rain', 'icon': '10d'}], 'clouds': 100, 'pop': 0.98, 'rain': 1.82, 'uvi': 1.99}, {'dt': 1712746800, 'sunrise': 1712724770, 'sunset': 1712773748, 'moonrise': 1712726520, 'moonset': 1712784540, 'moon_phase': 0.06, 'summary': 'Expect a day of partly cloudy with rain', 'temp': {'day': 11.62, 'min': 6.44, 'max': 12.75, 'night': 9.17, 'eve': 11.64, 'morn': 6.44}, 'feels_like': {'day': 9.99, 'night': 7.04, 'eve': 10.17, 'morn': 4.03}, 'pressure': 1028, 'humidity': 44, 'dew_point': -0.11, 'wind_speed': 6.05, 'wind_deg': 278, 'wind_gust': 12, 'weather': [{'id': 500, 'main': 'Rain', 'description': 'light rain', 'icon': '10d'}], 'clouds': 37, 'pop': 1, 'rain': 0.39, 'uvi': 3.83}, {'dt': 1712833200, 'sunrise': 1712811035, 'sunset': 1712860252, 'moonrise': 1712814120, 'moonset': 0, 'moon_phase': 0.1, 'summary': 'There will be partly cloudy today', 'temp': {'day': 12.78, 'min': 9.35, 'max': 13.84, 'night': 12.05, 'eve': 12.7, 'morn': 11.2}, 'feels_like': {'day': 12.33, 'night': 11.77, 'eve': 12.38, 'morn': 10.44}, 'pressure': 1028, 'humidity': 85, 'dew_point': 10.3, 'wind_speed': 6.13, 'wind_deg': 216, 'wind_gust': 14.23, 'weather': [{'id': 804, 'main': 'Clouds', 'description': 'overcast clouds', 'icon': '04d'}], 'clouds': 100, 'pop': 0, 'uvi': 0.77}, {'dt': 1712919600, 'sunrise': 1712897299, 'sunset': 1712946756, 'moonrise': 1712902140, 'moonset': 1712876400, 'moon_phase': 0.14, 'summary': 'There will be partly cloudy today', 'temp': {'day': 17.38, 'min': 10.89, 'max': 17.38, 'night': 12.38, 'eve': 14.47, 'morn': 10.89}, 'feels_like': {'day': 16.79, 'night': 11.76, 'eve': 14.04, 'morn': 10.46}, 'pressure': 1031, 'humidity': 62, 'dew_point': 9.99, 'wind_speed': 4.98, 'wind_deg': 253, 'wind_gust': 11.22, 'weather': [{'id': 804, 'main': 'Clouds', 'description': 'overcast clouds', 'icon': '04d'}], 'clouds': 100, 'pop': 0, 'uvi': 3.64}, {'dt': 1713006000, 'sunrise': 1712983565, 'sunset': 1713033260, 'moonrise': 1712991000, 'moonset': 1712967660, 'moon_phase': 0.17, 'summary': 'There will be partly cloudy today', 'temp': {'day': 18.63, 'min': 10.58, 'max': 18.64, 'night': 13.58, 'eve': 16.04, 'morn': 11.2}, 'feels_like': {'day': 17.8, 'night': 13.13, 'eve': 15.66, 'morn': 10.7}, 'pressure': 1027, 'humidity': 48, 'dew_point': 7.35, 'wind_speed': 5.62, 'wind_deg': 235, 'wind_gust': 11.54, 'weather': [{'id': 804, 'main': 'Clouds', 'description': 'overcast clouds', 'icon': '04d'}], 'clouds': 100, 'pop': 0, 'uvi': 4}, {'dt': 1713092400, 'sunrise': 1713069831, 'sunset': 1713119764, 'moonrise': 1713080760, 'moonset': 1713057960, 'moon_phase': 0.21, 'summary': 'There will be partly cloudy today', 'temp': {'day': 19.48, 'min': 12.05, 'max': 19.48, 'night': 14.25, 'eve': 16.41, 'morn': 13.1}, 'feels_like': {'day': 19.05, 'night': 13.51, 'eve': 15.73, 'morn': 12.92}, 'pressure': 1014, 'humidity': 60, 'dew_point': 11.47, 'wind_speed': 7.33, 'wind_deg': 236, 'wind_gust': 15.37, 'weather': [{'id': 804, 'main': 'Clouds', 'description': 'overcast clouds', 'icon': '04d'}], 'clouds': 100, 'pop': 0, 'uvi': 4}, {'dt': 1713178800, 'sunrise': 1713156098, 'sunset': 1713206268, 'moonrise': 1713171240, 'moonset': 1713147120, 'moon_phase': 0.25, 'summary': 'Expect a day of partly cloudy with rain', 'temp': {'day': 7.99, 'min': 7.35, 'max': 12.41, 'night': 7.35, 'eve': 7.81, 'morn': 7.77}, 'feels_like': {'day': 4.05, 'night': 3.51, 'eve': 4.14, 'morn': 4.17}, 'pressure': 1014, 'humidity': 77, 'dew_point': 4.23, 'wind_speed': 8.3, 'wind_deg': 282, 'wind_gust': 15.17, 'weather': [{'id': 500, 'main': 'Rain', 'description': 'light rain', 'icon': '10d'}], 'clouds': 97, 'pop': 1, 'rain': 5.25, 'uvi': 4}]}
2024-04-08 15:10:37.836 DEBUG (SyncWorker_1) [custom_components.smart_irrigation.OWMClient] OWMCLIENT daily rain: 4.85
2024-04-08 15:10:37.836 DEBUG (SyncWorker_1) [custom_components.smart_irrigation.OWMClient] OWMCLIENT daily precipitation: 4.85

Which version are you running?

2024.4.3 on Core 2024.4.1, Supervisor 2024.03.1, Operating System 12.1, Frontend 20240404.1

Diagnostics file

Additional information

No response

BTW: There is a misspelling in the help :)

image

jeroenterheerdt commented 1 month ago

I am not seeing this unfortunately. Can you generate a diag file as it doesn't seem to be attached.

fok35 commented 1 month ago

Hi, sure. How do I do that?

image

There is no menu like described:

image

Best regards

jeroenterheerdt commented 1 month ago

You literally pressed the checkbox that you've attached a diag file in your issue but haven't bothered following the instructions to create one which are provided right above the box you checked. It's there for a reason. Without it I cannot be of any help.

fok35 commented 1 month ago

That's right, because I thought the excerpt I attached as text above was this file. Obviously I was mistaken, hence my question.

fok35 commented 1 month ago

Good morning, I am new to Home Assistant. So I had to figure out how to download the diagnostics information from a working integration. It obviously looks like this:

IMG_9829

In Smart Irrigation unfortunately no context menu opens, even after a new installation:

IMG_9827

My first question at this point would be how do I get to the diagnostics information? Maybe a reinstallation via the usual way is not enough, it may be that you still have to delete any entries or folders manually to get a clean installation?

Best regards

fok35 commented 1 month ago

I think the problem occurred after I installed the "Bring!" integration. Here a todo list is activated in the sidebar. Is it possible that this leads to a conflict?

jeroenterheerdt commented 1 month ago

You're looking in the wrong place. It should be in the three dot menu:

Screenshot_2024-04-09-10-59-17-59_c3a231c25ed346e59462e84656a70e50

fok35 commented 1 month ago

Unfortunately, the entry does not exist in my context menu:

IMG_9833

jeroenterheerdt commented 1 month ago

That's weird. Can you get the smart Irrigation config file from the hidden storage folder?

fok35 commented 1 month ago

Good morning,

if you mean this:

image

... than yes (I am unable to upload the file due to github-restrictions, so I paste the content > Let me know if you need the file, I'll find a way):

{ "version": 3, "minor_version": 1, "key": "smart_irrigation.storage", "data": { "config": { "calctime": "23:00", "units": "metric", "use_owm": true, "autocalcenabled": true, "autoupdateenabled": true, "autoupdateschedule": "hours", "autoupdatedelay": "0", "autoupdateinterval": "1", "autoclearenabled": true, "cleardatatime": "23:59", "starteventfiredtoday": false }, "zones": [ { "id": 0, "name": "Terrassen", "size": 250.0, "throughput": 30.0, "state": "automatic", "bucket": 0.0, "old_bucket": 0, "delta": -0.0, "duration": 0, "module": 0, "multiplier": 1.0, "explanation": "Beachte: Diese Beschreibung nutzt '.' als Dezimalzeichen und zeigt gerundete Werte. Das Modul berechnete einen Evapotranspirationsmangel von -0.0. Der alte Vorrat war 0.
Der maximale Vorrat ist 50.0.Der neue Vorrat ist [alter_Vorrat]+[Veränderung]=0+-0.0=0.0.
Wenn der Vorrat >= 0 ist, ist keine Bewässerung nötig und die Dauer ist gleich 0", "mapping": 0, "lead_time": 0.0, "maximum_duration": 600.0, "maximum_bucket": 50, "last_calculated": "2024-04-08T10:48:15.252690", "last_updated": "2024-04-08T13:48:41.408012", "number_of_data_points": 4 } ], "modules": [ { "id": 0, "name": "PyETO", "description": "Die Berechnung der Verunstungsrate basiert auf der FAO56-Formel aus der PyETO-Bibliothek.", "config": { "coastal": false, "solrad_behavior": "2", "forecast_days": "10" }, "schema": [ { "type": "boolean", "name": "coastal", "optional": true, "default": false }, { "type": "select", "options": [ [ "1", "EstimateFromTemp" ], [ "2", "EstimateFromSunHours" ], [ "3", "DontEstimate" ] ], "name": "solrad_behavior", "required": true, "default": "1" }, { "type": "integer", "name": "forecast_days", "required": true, "default": 0 } ] }, { "id": 1, "name": "Static", "description": "Modul mit einer statisch konfigurierbaren Verdunstungsrate..", "config": { "delta": "" }, "schema": [ { "type": "float", "name": "delta", "required": true, "default": 0 } ] } ], "mappings": [ { "id": 0, "name": "Standard Sensorgruppe", "mappings": { "Dewpoint": { "source": "owm", "sensorentity": "", "unit": "" }, "Evapotranspiration": { "source": "none", "sensorentity": "", "unit": "" }, "Humidity": { "source": "owm", "sensorentity": "", "unit": "" }, "Precipitation": { "source": "owm", "sensorentity": "", "unit": "" }, "Pressure": { "source": "owm", "sensorentity": "", "unit": "" }, "Solar Radiation": { "source": "none", "sensorentity": "", "unit": "" }, "Temperature": { "source": "owm", "sensorentity": "", "unit": "" }, "Windspeed": { "source": "owm", "sensorentity": "", "unit": "" } }, "data": [ { "Windspeed": 1.9222342631816163, "Pressure": 980.0, "Humidity": 75, "Temperature": 16.87, "Dewpoint": 12.42, "Precipitation": 1.78, "retrieved": "2024-04-08T10:48:16.423291" }, { "Windspeed": 1.9222342631816163, "Pressure": 980.0, "Humidity": 75, "Temperature": 16.87, "Dewpoint": 12.42, "Precipitation": 1.78, "retrieved": "2024-04-08T10:48:41.295340" }, { "Windspeed": 1.9895498599467314, "Pressure": 980.0, "Humidity": 71, "Temperature": 18.09, "Dewpoint": 12.76, "Precipitation": 1.6, "retrieved": "2024-04-08T11:48:41.434426" }, { "Windspeed": 2.333607354523986, "Pressure": 980.0, "Humidity": 68, "Temperature": 18.67, "Dewpoint": 12.65, "Precipitation": 1.67, "retrieved": "2024-04-08T12:48:41.391097" }, { "Windspeed": 2.9843247899200973, "Pressure": 979.0, "Humidity": 70, "Temperature": 18.39, "Dewpoint": 12.83, "Precipitation": 2.43, "retrieved": "2024-04-08T13:48:41.407930" } ], "data_last_updated": "2024-04-08T13:48:41.408012" } ] } }

fok35 commented 1 month ago

I have found a way to fix the problem:

I deleted the file you mentioned, then deleted the integration and then the provisioning of smart irrigation via HACS. Then I restarted HA and after the download via HACS smart irrigation, et voilà: It works again!

Thanks for the hint!

I could still imagine that there is a connection to the "Bring!" integration, because as far as I know there were problems after the installation ... ("Bring!" provides a sidebar just like your application, maybe the two get in each other's way).

image

image

Best regards!

jeroenterheerdt commented 1 month ago

great you got it to work, but no idea why this happened.