Switch Error #225
AndrewEAUS
started this conversation in
General
Replies: 1 comment
-
Change the code in switch.py to -
This fixed the issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
After last home assistant update I am now getting this error on a HT31BT B-Hyve XD Bluetooth Hose Faucet Timer -
`Logger: homeassistant.components.switch
Source: helpers/entity_platform.py:359
Integration: Switch (documentation, issues)
First occurred: 10:35:17 PM (2 occurrences)
Last logged: 10:37:15 PM
Error while setting up bhyve platform for switch
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 359, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/bhyve/switch.py", line 183, in async_setup_entry
BHyveZoneSwitch(
File "/config/custom_components/bhyve/switch.py", line 388, in init
super().init(hass, bhyve, device, name, icon, SwitchDeviceClass.SWITCH)
File "/config/custom_components/bhyve/init.py", line 268, in init
self._setup(device)
File "/config/custom_components/bhyve/switch.py", line 420, in _setup
).isoformat()
^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'isoformat'`
Beta Was this translation helpful? Give feedback.
All reactions