Check Room Occupancy - Studio

View All Rules

alias: Check Room Occupancy - Studio
trigger:
- platform: state
  entity_id: binary_sensor.motion_gf_studio_camera
- platform: state
  entity_id: sensor.family_family_state_raw
- 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/studio
      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.