Check Room Occupancy - Livingroom

View All Rules

alias: Check Room Occupancy - Livingroom
trigger:
- platform: state
  entity_id: binary_sensor.gf_living_sensor_sensor
- platform: state
  entity_id: binary_sensor.motion_gf_living
- platform: state
  entity_id: binary_sensor.motion_gf_living_camera
- platform: state
  entity_id: sensor.family_family_state_raw
- platform: state
  entity_id: sensor.gf_living_tv_power_2
- platform: state
  entity_id: sensor.media_gf_livingroom_alexa
- platform: state
  entity_id: sensor.media_gf_livingroom_fire_tv
- platform: state
  entity_id: sensor.media_gf_livingroom_plex_fire
- platform: state
  entity_id: sensor.media_gf_livingroom_plex_alexa
- platform: state
  entity_id: sensor.remote_gf_livingroom
- platform: state
  entity_id: sensor.family_stuart_loc_room
- platform: state
  entity_id: sensor.family_kareen_loc_room
action:
  - service: mqtt.publish
    data:
      topic: cmd/nodered/occcheck/livingroom
      payload: "true"
      qos: 2
      retain: false

© 2020. Some rights reserved. The contents of this site is released under a Creative Commons Attribution-Share Alike license.