mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-17 01:52:58 +00:00
Add Aqara TVOC sensor
This commit is contained in:
@@ -238,6 +238,45 @@ sensor:
|
||||
name: "Terrarium weather LQI"
|
||||
state_topic: "z2m_deconz/terrarium_weather"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
icon: "mdi:signal"
|
||||
unit_of_measurement: "lqi"
|
||||
device_class: "signal_strength"
|
||||
value_template: "{{ value_json.linkquality }}"
|
||||
|
||||
|
||||
|
||||
# Terrarium weather sensor
|
||||
- platform: mqtt
|
||||
name: "Aqara TVOC temperature"
|
||||
state_topic: "z2m_deconz/aqara_tvoc"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
unit_of_measurement: "°C"
|
||||
device_class: "temperature"
|
||||
value_template: "{{ value_json.temperature }}"
|
||||
- platform: mqtt
|
||||
name: "Aqara TVOC humidity"
|
||||
state_topic: "z2m_deconz/aqara_tvoc"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
unit_of_measurement: "%"
|
||||
device_class: "humidity"
|
||||
value_template: "{{ value_json.humidity }}"
|
||||
- platform: mqtt
|
||||
name: "Aqara TVOC voc"
|
||||
state_topic: "z2m_deconz/aqara_tvoc"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
unit_of_measurement: "ppb"
|
||||
device_class: "volatile_organic_compounds"
|
||||
value_template: "{{ value_json.voc }}"
|
||||
- platform: mqtt
|
||||
name: "Aqara TVOC battery"
|
||||
state_topic: "z2m_deconz/aqara_tvoc"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
unit_of_measurement: "%"
|
||||
device_class: "battery"
|
||||
value_template: "{{ value_json.battery }}"
|
||||
- platform: mqtt
|
||||
name: "Aqara TVOC LQI"
|
||||
state_topic: "z2m_deconz/aqara_tvoc"
|
||||
availability_topic: "z2m_deconz/bridge/state"
|
||||
device_class: "signal_strength"
|
||||
unit_of_measurement: "lqi"
|
||||
value_template: "{{ value_json.linkquality }}"
|
||||
|
||||
Reference in New Issue
Block a user