I have added a bunch of input_boolean items into a group, and the group is added to a view, like this:
input_boolean:
heater_timer_00_00:
name: Heater timer 00:00
initial: off
icon: mdi:fire
heater_timer_00_15:
name: Heater timer 00:15
initial: off
icon: mdi:fire
heater_timer_00_30:
name: Heater timer 00:30
initial: off
icon: mdi:fire
heater_timer_00_45:
name: Heater timer 00:45
initial: off
icon: mdi:fire
group:
heater_timer_group_0:
name: Timer group 00:00 - 04:00
entities:
- input_boolean.heater_timer_00_00
- input_boolean.heater_timer_00_15
- input_boolean.heater_timer_00_30
- input_boolean.heater_timer_00_45
heater_timer_group:
name: Heater timer
entities:
- group.heater_timer_group_0
heater:
name: Gas heater
view: yes
icon: mdi:fire
entities:
- group.heater_timer_group
My implementation has more groups and more input_booleans, but the example above should be enough.
The problem is - when I expand one group, and I enable any boolean, the boolean is enabled. When I try to enable a different boolean in the same group - it briefly enables the boolean, but the boolean quickly reverts back to off (visually).
The log shows the on transition, but no off transition:
Sep 27 16:08:02 bellatrix hass[21195]: 2017-09-27 16:08:02 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=homeassistant, service=turn_on, service_data=entity_id=input_boolean.heater_timer_00_45, service_call_id=547973792208-51>
Sep 27 16:08:02 bellatrix hass[21195]: 2017-09-27 16:08:02 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=input_boolean, service=turn_on, service_data=entity_id=['input_boolean.heater_timer_00_45'], service_call_id=547973792208-52>
Sep 27 16:08:02 bellatrix hass[21195]: 2017-09-27 16:08:02 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=<state input_boolean.heater_timer_00_45=off; icon=mdi:fire, friendly_name=Heater timer 00:45 @ 2017-09-27T15:38:10.196554+03:00>, entity_id=input_boolean.heater_timer_00_45, new_state=<state input_boolean.heater_timer_00_45=on; icon=mdi:fire, friendly_name=Heater timer 00:45 @ 2017-09-27T16:08:02.624090+03:00>>
Sep 27 16:08:02 bellatrix hass[21195]: 2017-09-27 16:08:02 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=547973792208-52>
Sep 27 16:08:02 bellatrix hass[21195]: 2017-09-27 16:08:02 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=547973792208-51>
If I check the state in the State views, I can see that the input_boolean is still on, but in the regular view it looks off. So the state is ok, but the web interface doesn’t reflect the correct state - until I close the group and reenter it. When I reenter the group, the correct state is shown.
The problem happens with Firefox 55.0.2, Chromium 61.0.3163.79, and also the Android Chrome browser.
Is this a bug in the frontend, or is it a problem with the way I configured my groups/booleans?