pepe: add more zigbee defices

This commit is contained in:
Ingolf Wagner 2020-04-12 02:24:20 +02:00
parent a51c8f1549
commit 2dc5647f87
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -17,7 +17,16 @@ let
"temperature_sensor_1".id = "0x00158d0002d79220"; "temperature_sensor_1".id = "0x00158d0002d79220";
"temperature_sensor_2".id = "0x00158d0002d7913d"; "temperature_sensor_2".id = "0x00158d0002d7913d";
}; };
motion = { "motion_sensor_1".id = "0x00158d0002fbd451"; }; motion = {
"motion_sensor_1".id = "0x00158d0002fbd451";
"motion_sensor_2".id = "0x00158d0002f9a6b8";
"motion_sensor_3".id = "0x00158d0002f04522";
"motion_sensor_4".id = "0x00158d0002f9a558";
"motion_sensor_5".id = "0x00158d0002f9a56f";
"motion_sensor_6".id = "0x00158d0002f9a5cb";
"motion_sensor_7".id = "0x00158d0002f9a6aa";
"motion_sensor_8".id = "0x00158d0002f04637";
};
}; };
# todo : rename with allSensors # todo : rename with allSensors
@ -121,6 +130,7 @@ in {
state_topic = "zigbee2mqtt/${name}"; state_topic = "zigbee2mqtt/${name}";
availability_topic = "zigbee2mqtt/bridge/state"; availability_topic = "zigbee2mqtt/bridge/state";
unit_of_measurement = "%"; unit_of_measurement = "%";
icon = "mdi:battery-10";
value_template = "{{ value_json.battery }}"; value_template = "{{ value_json.battery }}";
} }
{ {