Hello,
I upgraded to v0.101.2.
My previous defined scene doesn’t work anymore.
With following definition of my lights
light:
- platform: mqtt
name: "Lamp Peter Frans 01"
state_topic: "hass/living/lamp_pf_01"
command_topic: "hass/living/lamp_pf_01"
payload_on: "1"
payload_off: "0"
retain: true
- platform: mqtt
name: "Lamp Peter Frans 02"
state_topic: "hass/living/lamp_pf_02"
command_topic: "hass/living/lamp_pf_02"
payload_on: "1"
payload_off: "0"
retain: true
The following scenes DO NOT work:
scene:
- name: Lamp Peter Frans s1
entities:
light.Lamp_Peter_Frans_01: off
light.Lamp_Peter_Frans_02: off
- name: Lamp Peter Frans s2
entities:
light.Lamp_Peter_Frans_01: off
light.Lamp_Peter_Frans_02: on
- name: Lamp Peter Frans s3
entities:
light.Lamp_Peter_Frans_01: on
light.Lamp_Peter_Frans_02: off
- name: Lamp Peter Frans s4
entities:
light.Lamp_Peter_Frans_01: on
light.Lamp_Peter_Frans_02: on
But following scenes DO work:
scene:
- name: Lamp Peter Frans s1
entities:
light.lamp_peter_frans_01: off
light.lamp_peter_frans_02: off
- name: Lamp Peter Frans s2
entities:
light.lamp_peter_frans_01: off
light.lamp_peter_frans_02: on
- name: Lamp Peter Frans s3
entities:
light.lamp_peter_frans_01: on
light.lamp_peter_frans_02: off
- name: Lamp Peter Frans s4
entities:
light.lamp_peter_frans_01: on
light.lamp_peter_frans_02: on
See the subtile difference in cases.
For some reasion, I HAVE to refer to the lights with lowercases, altough their definition is with uppercases…
I think this was introduced in V0.101.2…
Not a big deal if you know, but it took me a while figuring out why my home assistant did’nt startup anymore. Weird error messages in log:
Nov 04 22:43:07 deb-17 hass[6674]: File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/auth/__init__.py", line 123, in async_get_user
Nov 04 22:43:07 deb-17 hass[6674]: return await self._store.async_get_user(user_id)
Nov 04 22:43:07 deb-17 hass[6674]: File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/auth/auth_store.py", line 72, in async_get_user
Nov 04 22:43:07 deb-17 hass[6674]: await self._async_load()
Nov 04 22:43:07 deb-17 hass[6674]: File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/auth/auth_store.py", line 289, in _async_load
Nov 04 22:43:07 deb-17 hass[6674]: await self._async_load_task()
Nov 04 22:43:07 deb-17 hass[6674]: File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/auth/auth_store.py", line 296, in _async_load_task
Nov 04 22:43:07 deb-17 hass[6674]: self._store.async_load(),
Nov 04 22:43:07 deb-17 hass[6674]: concurrent.futures._base.CancelledError
Nov 04 22:43:07 deb-17 hass[6674]: Config directory: /home/homeassistant/.homeassistant
Is this a bug?
Kind regards,
Bart