jeroenterheerdt / HAsmartirrigation

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

Smart Irrigation, Space, No devices or entities, Failed to set up #326

Closed raul811 closed 3 months ago

raul811 commented 3 months ago

What happened?

After the last update the integration is still not working

How to reproduce

I uninstall everything from the old version. And after that I installed the new version and still not working.

Relevant log output

Logger: homeassistant.config_entries
Source: config_entries.py:406
First occurred: 11:52:32 (1 occurrences)
Last logged: 11:52:32

Error setting up entry Smart Irrigation for smart_irrigation
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 406, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/smart_irrigation/__init__.py", line 64, in async_setup_entry
    store = await async_get_registry(hass)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/smart_irrigation/store.py", line 561, in async_get_registry
    return cast(SmartIrrigationStorage, await task)
                                        ^^^^^^^^^^
  File "/config/custom_components/smart_irrigation/store.py", line 556, in _load_reg
    await registry.async_load()
  File "/config/custom_components/smart_irrigation/store.py", line 228, 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.11/site-packages/voluptuous/schema_builder.py", line 272, in __call__
    return self._compiled([], data)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 595, in validate_dict
    return base_validate(path, iteritems(data), out)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/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']

Which version are you running?

v2024.1.0, button

Diagnostics file

Additional information

Sorry but I don't have a diagnostic file on integration

jeroenterheerdt commented 3 months ago

Please remove, make sure everything related to this integration is gone from the hidden storage folder (.storage) and reinstall.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: raul811 @.> Sent: Tuesday, January 23, 2024 4:50:33 AM To: jeroenterheerdt/HAsmartirrigation @.> Cc: Assign @.***> Subject: Re: [jeroenterheerdt/HAsmartirrigation] Smart Irrigation, Space, No devices or entities, Failed to set up (Issue #326)

Assigned #326https://github.com/jeroenterheerdt/HAsmartirrigation/issues/326 to @jeroenterheerdthttps://github.com/jeroenterheerdt.

— Reply to this email directly, view it on GitHubhttps://github.com/jeroenterheerdt/HAsmartirrigation/issues/326 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB6PIPXXNHM35XDBX3ZCL43YP6WZTBFKMF2HI4TJMJ2XIZLTSSBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJLJONZXKZNENZQW2ZNLORUHEZLBMRPXI6LQMWBKK5TBNR2WLKRSGA2TGOBZGQYTON5ENZQW2ZNJNBQXGX3MMFRGK3ECUV3GC3DVMWSHI4TVMWSG4YLNMWXHOYLUMNUF6YLDORUXM2LUPGWHG5LCNJSWG5C7OR4XAZNFJFZXG5LFUZ2G64DJMNZZHAVEOR4XAZNKOJSXA33TNF2G64TZUV3GC3DVMWUTENRTGE3TSMJXG2BKI5DZOBS2K2LTON2WLJLWMFWHKZNKGIYDSNRQGI3DSNBUQKSHI6LQMWSWYYLCMVWKK5TBNR2WLKRSGA2TGOBZGQYTON5HORZGSZ3HMVZKQYLTONUWO3TFMQ. You are receiving this email because you were assigned.

Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

raul811 commented 3 months ago

After I delete the smart irrigation from heights. Store everything it's working, thank you.

jeroenterheerdt commented 3 months ago

yeah, sometimes stuff gets stuck there...