Check Room Occupancy - Study

View All Rules

alias: Check Room Occupancy - Study
trigger:
- platform: state
  entity_id: sensor.family_family_state_raw
- platform: state
  entity_id: binary_sensor.motion_ff_study
- platform: state
  entity_id: binary_sensor.ff_study_sensor_sensor
- platform: state
  entity_id: switch.ff_study_monitors_switch
- platform: state
  entity_id: sensor.ff_study_monitors_power_2
- platform: state
  entity_id: sensor.media_ff_study_alexa
- platform: state
  entity_id: sensor.media_ff_study_plex_audio
- platform: state
  entity_id: sensor.media_ff_study_plex_alexa
- platform: state
  entity_id: sensor.media_ff_study_plex_video
- platform: state
  entity_id: sensor.family_stuart_loc_room
- platform: state
  entity_id: sensor.family_kareen_loc_room
- platform: state
  entity_id: sensor.steam_hes_playing
action:
  - service: mqtt.publish
    data:
      topic: cmd/nodered/occcheck/study
      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.