So im on 0.35.3 and am all of a sudden getting an issue when attempting to use the group switch to turn off all switches within a group. THis is also messing with my automations using said groups. Being on 0.34.x before did not bring up this issue.
The only error in the log when attempting to toggle the switch is the below.
homeassistant.core: Unable to find service binary_sensor/turn_off
Any ideas here? Should i just save all my configs, automations etc and reinstall from scratch?
Derp moment, sorry guys. Funny thing is i have seen ppl do the same thing i did in my initial posting and apparently that learning moment didnt stick haha. Ok so there are two scenarios with one thing in common. I pasted the whole group at the bottom but gave the tidbit of the relevant group in SCENARIO 1
My automations are in individual yaml files within an automations folder.
SCENARIO 1
The switch for group below gets turned on and all entities turn on as designed. However, If i toggle the group switch to OFF then all actual items turn off but the switch on the application shows still on ONLY for the dimmers in the group. When i check the log i get the error mentioned in my original posting. The below group is in a single group yaml on the main directory (/home/hass/.homeassistant)
Group
masterbedroom:
name: Master_Bedroom
icon: mdi:hotel
view: no
entities:
- binary_sensor.masterrightclosetdoor
- switch.intermatic_ha05c_lamp_screw_in_module_switch_2_0
- light.ge_45606_2way_dimmer_switch_level_5_0
- light.act_zdp100_plugin_lamp_module_level_3_0
- media_player.master_bedroom
SCENARIO 2
Sunset based automation for dimmers outside. It does not trigger the dimmers to turn on. nor does my time based automation turn them off. Both below.
SUNSET AUTOMATION
alias: âTurn on outside lights at sunsetâ
hide_entity: True
trigger:
platform: sun
event: sunset
action:
service: light.turn_on
entity_id: group.outside
Ahh ok that logic makes sense. The automation might have been exhibiting the same behavior prior to updating hass to latest version and i just missed it. Thank you for that knowledge.
Now, do we have any theories for the master bedroom group switch not turning off certain entities in the UI even though the actual switches and dimmers do turn off? This is affecting the dimmers. Switches turn off correctly in the UI. The first time i toggle the below happens, If i toggle the group switch again it does turn toggle the entity switch off for the ones that were not switched off the first time i toggled said group switch
UPDATE: The âhomeassistant.core: Unable to find service binary_sensor/turn_offâ error is related to the door sensor. Since there is no binary sensor service to turn it off it turns up an error so this is a NABWAD matter. However the switches showing as on after toggling the group switch issue is still a mystery.
When I try homeassistant.turn_off and apply it to group.living_room it does not work. I see it make the call, but the lights do not turn off. I have the group configured correctly.