Created
October 20, 2020 14:44
-
-
Save ericvitale/629c4314bd44900b1ba47bdcaa7c3057 to your computer and use it in GitHub Desktop.
Example of how to group motion sensors into a single sensor in Home Assistant.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
platform: template | |
sensors: | |
group_motion: | |
device_class: motion | |
value_template: >- | |
{{ | |
is_state('binary_sensor.motion_sensor_01_motion', 'on') | |
or | |
is_state('binary_sensor.motion_sensor_02_motion', 'on') | |
or | |
is_state('binary_sensor.motion_sensor_03_motion', 'on') | |
}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment