mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-28 05:24:29 +00:00
Add TPZRCO2HT-Z3 homeassistant mapping (#4155)
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
This commit is contained in:
@@ -509,6 +509,15 @@ const cfg = {
|
||||
icon: 'mdi:rotate-3d-variant',
|
||||
},
|
||||
},
|
||||
'sensor_co2': {
|
||||
type: 'sensor',
|
||||
object_id: 'co2',
|
||||
discovery_payload: {
|
||||
unit_of_measurement: 'ppm',
|
||||
value_template: '{{ value_json.co2 }}',
|
||||
icon: 'mdi:molecule-co2',
|
||||
},
|
||||
},
|
||||
|
||||
// Light
|
||||
'light_brightness_colortemp_colorxy': {
|
||||
@@ -1892,6 +1901,7 @@ const mapping = {
|
||||
'GWA1521': [cfg.switch],
|
||||
'GWA1522': [switchEndpoint('l1'), switchEndpoint('l2')],
|
||||
'GWA1531': [cfg.cover_position],
|
||||
'TPZRCO2HT-Z3': [cfg.sensor_temperature, cfg.sensor_humidity, cfg.sensor_battery, cfg.sensor_co2],
|
||||
};
|
||||
|
||||
const defaultStatusTopic = 'homeassistant/status';
|
||||
|
||||
Reference in New Issue
Block a user