b0mbays / continuously_casting_dashboards

HACS Integration for continuously casting a Home Assistant dashboard to your Google Chromecast Displays
MIT License
228 stars 11 forks source link

Error during setup of component conintuously_casting_dashboards #51

Closed blindeslakkie closed 8 months ago

blindeslakkie commented 8 months ago

Hi

I get the error below, this used to work. Don't even know where to start looking for this problem.

Home Assistant Core: Version: 2024.3.0 Home Assistant Operating System: Version: 12.0 Home Assistant Supervisor: Version: 2024.02.1 Continuously Casting Dashboard: v1.3.0


Invalid config The following integrations and platforms could not be set up:

continuously_casting_dashboards (Show logs) Please check your config and logs.


Logger: homeassistant.setup Source: setup.py:390 First occurred: 12:11:01 PM (1 occurrences) Last logged: 12:11:01 PM

Error during setup of component continuously_casting_dashboards Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/setup.py", line 390, in _async_setup_component result = await task ^^^^^^^^^^ File "/config/custom_components/continuously_casting_dashboards/init.py", line 20, in async_setup caster = ContinuouslyCastingDashboards(hass, conf) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/continuously_casting_dashboards/dashboard_caster.py", line 30, in init device_info.get("start_time", global_start_time), "%H:%M" ^^^^^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'get'

b0mbays commented 8 months ago

Did you recently update the integration?

Could you post your config for the integration inside the configuration.yamlor check that this change is completed:

https://github.com/b0mbays/continuously_casting_dashboards/blob/main/docs/update-help-1.3.0.md

blindeslakkie commented 8 months ago

https://github.com/b0mbays/continuously_casting_dashboards/blob/main/docs/update-help-1.3.0.md

Thank you for your prompt response. I somehow missed this and changed the config and all is working now. Sorry for wasting your time.

Old config continuously_casting_dashboards: ... devices: "": #Required: Display name of your device. Find this on the actual device's settings or inside the Google Home app. dashboard_url: "" #Required: Dashboard URL to be casted (This must be the local IP address of your HA instance, not homeassistant.local)

New Config devices: "": #Required: Display name of your device. Find this on the actual device's settings or inside the Google Home app. _- dashboardurl: "" #Required: Dashboard URL to be casted (This must be the local IP address of your HA instance, not homeassistant.local)

b0mbays commented 8 months ago

Great to hear 😄 No problem at all. It can be easily missed when updating!