mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-21 10:57:43 +00:00
Add hallway_motion_2
This commit is contained in:
@@ -11,7 +11,8 @@ group:
|
||||
name: Hallway Motion
|
||||
entities:
|
||||
- binary_sensor.hallway_motion_occupancy
|
||||
- binary_sensor.trisensor_home_security_motion_detection
|
||||
- binary_sensor.hallway_motion_2_occupancy
|
||||
# - binary_sensor.trisensor_home_security_motion_detection
|
||||
|
||||
binary_sensor:
|
||||
- platform: mqtt
|
||||
@@ -22,6 +23,14 @@ binary_sensor:
|
||||
payload_off: false
|
||||
value_template: "{{ value_json.occupancy }}"
|
||||
device_class: "motion"
|
||||
- platform: mqtt
|
||||
name: "Hallway motion 2 occupancy"
|
||||
state_topic: "z2m_deconz/hallway_motion_2"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
payload_on: true
|
||||
payload_off: false
|
||||
value_template: "{{ value_json.occupancy }}"
|
||||
device_class: "motion"
|
||||
- platform: mqtt
|
||||
name: "Kitchen motion occupancy"
|
||||
state_topic: "z2m_deconz/kitchen_motion"
|
||||
@@ -54,6 +63,28 @@ sensor:
|
||||
device_class: "signal_strength"
|
||||
value_template: "{{ value_json.linkquality }}"
|
||||
|
||||
# Hallway Motion 2
|
||||
- platform: mqtt
|
||||
name: "Hallway motion 2 illuminance"
|
||||
state_topic: "z2m_deconz/hallway_motion_2"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
device_class: "illuminance"
|
||||
value_template: "{{ value_json.illuminance_lux }}"
|
||||
- platform: mqtt
|
||||
name: "Hallway motion 2 battery"
|
||||
state_topic: "z2m_deconz/hallway_motion_2"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
unit_of_measurement: "%"
|
||||
device_class: "battery"
|
||||
value_template: "{{ value_json.battery }}"
|
||||
- platform: mqtt
|
||||
name: "Hallway motion 2 LQI"
|
||||
state_topic: "z2m_deconz/hallway_motion_2"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
unit_of_measurement: "lqi"
|
||||
device_class: "signal_strength"
|
||||
value_template: "{{ value_json.linkquality }}"
|
||||
|
||||
# Kitchen Motion
|
||||
- platform: mqtt
|
||||
name: "Kitchen motion illuminance"
|
||||
|
||||
Reference in New Issue
Block a user