This repository was archived by the owner on May 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
hass is undefined error following upgrade to HA version 0.110.0 #17
Copy link
Copy link
Open
Description
Version of the cusom_component
0.4.0
Describe the bug
Following an upgrade of HA to 0.110.0, picture element cards using the state-attribute-element HACS plugin now throw up a "hass is undefined error".
The above is what is produced for a horizontal stack of 3 cards and the configuration for the last of these cards is as follows:
elements:
- entity: person.ashton
style:
color: white
font-size: 18px
left: 50%
top: 92%
type: state-label
- attribute: friendly_name
entity: person.ashton
show_empty: false
style:
color: white
font-size: 14px
left: 50%
top: 80%
type: 'custom:state-attribute-element'
image: /local/Ashton2.png
type: picture-elements
Removing the 'custom:state-attribute-element' part of the config results in the cards being correctly rendered but without the associated attribute detail.
log
I have attached the log below but this does not appear to contain anything related to the problem:
2020-05-20 22:05:12 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for 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.
2020-05-20 22:05:12 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for logbook_cache 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.
2020-05-20 22:05:12 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for meross_cloud 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.
2020-05-20 22:05:12 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for anniversaries 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.
2020-05-20 22:05:12 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for shelly 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.
2020-05-20 22:05:12 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for momentary 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.
2020-05-20 22:05:18 WARNING (MainThread) [homeassistant.components.switch] SwitchDevice is deprecated, modify MomentarySwitch to extend SwitchEntity
2020-05-20 22:05:20 WARNING (MainThread) [homeassistant.util.async_] Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for meross_cloud doing I/O at custom_components/meross_cloud/__init__.py, line 55: http_client = MerossHttpClient.from_user_password(email=email, password=password)
2020-05-20 22:05:20 WARNING (MainThread) [homeassistant.util.async_] Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for meross_cloud doing I/O at custom_components/meross_cloud/__init__.py, line 60: http_devices = http_client.list_devices()
2020-05-20 22:05:22 WARNING (MainThread) [homeassistant.components.climate] ClimateDevice is deprecated, modify ValveEntityWrapper to extend ClimateEntity
2020-05-20 22:05:22 WARNING (MainThread) [homeassistant.components.light] Light is deprecated, modify LightEntityWrapper to extend LightEntity
2020-05-20 22:05:22 WARNING (MainThread) [homeassistant.components.cover] CoverDevice is deprecated, modify OpenGarageCover to extend CoverEntity
2020-05-20 22:05:24 WARNING (MainThread) [homeassistant.components.switch] SwitchDevice is deprecated, modify SwitchEntityWrapper to extend SwitchEntity
2020-05-20 22:05:25 ERROR (MainThread) [homeassistant.components.calendar] google: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 322, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 472, in async_device_update
await self.hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/google/calendar.py", line 106, in update
self.data.update()
File "/usr/src/homeassistant/homeassistant/util/__init__.py", line 239, in wrapper
result = method(*args, **kwargs)
File "/usr/src/homeassistant/homeassistant/components/google/calendar.py", line 175, in update
result = events.list(**params).execute()
File "/usr/local/lib/python3.7/site-packages/oauth2client/_helpers.py", line 133, in positional_wrapper
return wrapped(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/googleapiclient/http.py", line 842, in execute
raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: <HttpError 404 when requesting https://www.googleapis.com/calendar/v3/calendars/u8qptj3nrfqtmuhgrm9dfbgf04%40group.calendar.google.com/events?orderBy=startTime&maxResults=5&singleEvents=true&timeMin=2020-05-20T22%3A05%3A25.017512%2B01%3A00&alt=json returned "Not Found">
2020-05-20 22:05:29 WARNING (MainThread) [homeassistant.components.switch] SwitchDevice is deprecated, modify ShellySwitch to extend SwitchEntity
2020-05-20 22:05:29 WARNING (MainThread) [homeassistant.components.switch] SwitchDevice is deprecated, modify ShellyFirmwareUpdate to extend SwitchEntity
2020-05-20 22:05:34 WARNING (MainThread) [homeassistant.helpers.translation] meross_cloud: the '.translations' directory has been moved, the new name is 'translations', starting with Home Assistant 0.111 your translations will no longer load if you do not move/rename this
2020-05-20 22:05:34 WARNING (MainThread) [homeassistant.helpers.translation] meross_cloud: the '.translations' directory has been moved, the new name is 'translations', starting with Home Assistant 0.111 your translations will no longer load if you do not move/rename this
2020-05-20 22:05:34 WARNING (MainThread) [homeassistant.helpers.translation] meross_cloud: the '.translations' directory has been moved, the new name is 'translations', starting with Home Assistant 0.111 your translations will no longer load if you do not move/rename this
2020-05-20 22:05:34 WARNING (MainThread) [homeassistant.helpers.translation] meross_cloud: the '.translations' directory has been moved, the new name is 'translations', starting with Home Assistant 0.111 your translations will no longer load if you do not move/rename this
2020-05-20 22:05:34 WARNING (MainThread) [homeassistant.helpers.translation] meross_cloud: the '.translations' directory has been moved, the new name is 'translations', starting with Home Assistant 0.111 your translations will no longer load if you do not move/rename this
2020-05-20 22:05:34 WARNING (MainThread) [homeassistant.helpers.translation] meross_cloud: the '.translations' directory has been moved, the new name is 'translations', starting with Home Assistant 0.111 your translations will no longer load if you do not move/rename this
2020-05-20 22:05:34 WARNING (MainThread) [homeassistant.helpers.translation] meross_cloud: the '.translations' directory has been moved, the new name is 'translations', starting with Home Assistant 0.111 your translations will no longer load if you do not move/rename this
2020-05-20 22:05:34 WARNING (MainThread) [homeassistant.helpers.translation] meross_cloud: the '.translations' directory has been moved, the new name is 'translations', starting with Home Assistant 0.111 your translations will no longer load if you do not move/rename this
2020-05-20 22:05:34 WARNING (MainThread) [homeassistant.helpers.translation] meross_cloud: the '.translations' directory has been moved, the new name is 'translations', starting with Home Assistant 0.111 your translations will no longer load if you do not move/rename this
2020-05-20 22:05:34 WARNING (MainThread) [homeassistant.helpers.translation] meross_cloud: the '.translations' directory has been moved, the new name is 'translations', starting with Home Assistant 0.111 your translations will no longer load if you do not move/rename this
2020-05-20 22:05:34 WARNING (MainThread) [homeassistant.helpers.translation] meross_cloud: the '.translations' directory has been moved, the new name is 'translations', starting with Home Assistant 0.111 your translations will no longer load if you do not move/rename this
2020-05-20 22:05:34 WARNING (MainThread) [homeassistant.helpers.translation] meross_cloud: the '.translations' directory has been moved, the new name is 'translations', starting with Home Assistant 0.111 your translations will no longer load if you do not move/rename this
2020-05-20 22:05:34 WARNING (MainThread) [homeassistant.helpers.translation] meross_cloud: the '.translations' directory has been moved, the new name is 'translations', starting with Home Assistant 0.111 your translations will no longer load if you do not move/rename this
2020-05-20 22:05:34 WARNING (MainThread) [homeassistant.helpers.translation] meross_cloud: the '.translations' directory has been moved, the new name is 'translations', starting with Home Assistant 0.111 your translations will no longer load if you do not move/rename this
2020-05-20 22:05:35 WARNING (MainThread) [homeassistant.helpers.translation] meross_cloud: the '.translations' directory has been moved, the new name is 'translations', starting with Home Assistant 0.111 your translations will no longer load if you do not move/rename this
2020-05-20 22:05:35 WARNING (MainThread) [homeassistant.helpers.translation] meross_cloud: the '.translations' directory has been moved, the new name is 'translations', starting with Home Assistant 0.111 your translations will no longer load if you do not move/rename this
2020-05-20 22:06:21 ERROR (MainThread) [frontend.js.latest.202005190] http://192.168.1.17:8123/hacsfiles/bar-card/bar-card.js:5355:0 SyntaxError: export declarations may only appear at top level of a module
2020-05-20 22:14:25 WARNING (MainThread) [homeassistant.helpers.translation] meross_cloud: the '.translations' directory has been moved, the new name is 'translations', starting with Home Assistant 0.111 your translations will no longer load if you do not move/rename this
2020-05-20 22:14:25 WARNING (MainThread) [homeassistant.helpers.translation] meross_cloud: the '.translations' directory has been moved, the new name is 'translations', starting with Home Assistant 0.111 your translations will no longer load if you do not move/rename this
2020-05-20 22:14:25 WARNING (MainThread) [homeassistant.helpers.translation] meross_cloud: the '.translations' directory has been moved, the new name is 'translations', starting with Home Assistant 0.111 your translations will no longer load if you do not move/rename this
2020-05-20 22:14:25 WARNING (MainThread) [homeassistant.helpers.translation] meross_cloud: the '.translations' directory has been moved, the new name is 'translations', starting with Home Assistant 0.111 your translations will no longer load if you do not move/rename this
2020-05-20 22:14:25 WARNING (MainThread) [homeassistant.helpers.translation] meross_cloud: the '.translations' directory has been moved, the new name is 'translations', starting with Home Assistant 0.111 your translations will no longer load if you do not move/rename this
2020-05-20 22:14:25 WARNING (MainThread) [homeassistant.helpers.translation] meross_cloud: the '.translations' directory has been moved, the new name is 'translations', starting with Home Assistant 0.111 your translations will no longer load if you do not move/rename this
2020-05-20 22:14:25 WARNING (MainThread) [homeassistant.helpers.translation] meross_cloud: the '.translations' directory has been moved, the new name is 'translations', starting with Home Assistant 0.111 your translations will no longer load if you do not move/rename this
2020-05-20 22:14:58 WARNING (MainThread) [homeassistant.helpers.translation] meross_cloud: the '.translations' directory has been moved, the new name is 'translations', starting with Home Assistant 0.111 your translations will no longer load if you do not move/rename this
2020-05-20 22:16:23 ERROR (MainThread) [frontend.js.latest.202004272] https://9dbzp8szuwow23bh7syzimz678w2lamd.ui.nabu.casa/hacsfiles/bar-card/bar-card.js:5355:1 Uncaught SyntaxError: Unexpected token 'export'
Metadata
Metadata
Assignees
Labels
No labels
