office_dashboard.yaml 612 B

1234567891011121314
  1. # Require: https://github.com/jmgiaever/home-assistant-blueprints/blob/master/automation/cast_lovelace_on_motion.yaml
  2. automation:
  3. - id: 'office_dashboard'
  4. alias: "Office: Cast lovelace on motion detection"
  5. description: ''
  6. use_blueprint:
  7. path: cast_lovelace_on_motion.yaml
  8. input:
  9. trigger_sensors:
  10. - binary_sensor.office_motion_sensor_home_security_motion_detection
  11. media_devices:
  12. - media_player.office_display
  13. dashboard_path: lovelace
  14. dashboard_view: home #"{{ 'kitchen' if is_state('input_boolean.kitchen_dashboard', 'on') else 'home' }}"