Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error dusting setup latest version #79

Open
Tokn59 opened this issue Oct 9, 2024 · 0 comments
Open

Error dusting setup latest version #79

Tokn59 opened this issue Oct 9, 2024 · 0 comments

Comments

@Tokn59
Copy link

Tokn59 commented Oct 9, 2024

Hi, since installing the update yesterday I get the following error :

Logger: homeassistant.setup
Source: setup.py:416
First occurred: 08:25:31 (1 occurrences)
Last logged: 08:25:31

Error during setup of component continuously_casting_dashboards
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 416, 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 34, in init
device_info.get("start_time", global_start_time), "%H:%M"
^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'get'

My config (was working fine in prvious build) :

'#-----------------------------------------------------------------------------------------------------
continuously_casting_dashboards:
logging_level: debug #Required: Set the logging level - debug/info/warning (default is 'warning' - try 'debug' for debugging)
cast_delay: 15
start_time: "00:01" #Required: Start time of the casting window (format: "HH:MM")
end_time: "23:59" #Required: End time of the casting window (format: "HH:MM") and must be after "00:00"

volume: 5

devices:

"Nesthub Kitchen":

dashboard_url: "http://192.168.1.15:8443/tablet-2/default_view?kiosk"

volume:

start_time: "07:01" #Required: Start time of the casting window (format: "HH:MM")

end_time: "22:30" #Required: End time of the casting window (format: "HH:MM") and must be after "00:00"

devices:
"Kitchen Display":
# - entity_id: input_boolean.nesthub_alarm
# to_state: "on"
# dashboard_url: "http://192.168.1.15:8443/dashboard-cameras/default_view?kiosk"
# volume: 5
# - entity_id: input_boolean.nesthub_alarm
# to_state: "off"
dashboard_url: "http://192.168.1.15:8443/dashboard-nesthub/default_view?kiosk"
volume: 1
"Desk Display":
# - entity_id: input_boolean.nesthub_alarm
# to_state: "on"
# dashboard_url: "http://192.168.1.15:8443/dashboard-cameras/default_view?kiosk"
dashboard_url: "http://192.168.1.15:8443/dashboard-nesthub/default_view?kiosk"
# volume: 5
# - entity_id: input_boolean.nesthub_alarm
# to_state: "off"
# dashboard_url: "http://192.168.1.15:8443/dashboard-cameras/default_view?kiosk""
volume: 1
#-----------------------------------------------------------------------------------------------------
'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant