From 2dc5647f87869b6e501eb99e0c002c6f8b1366e3 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Sun, 12 Apr 2020 02:24:20 +0200 Subject: [PATCH] pepe: add more zigbee defices --- configs/pepe/home-assistant/zigbee2mqtt.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/configs/pepe/home-assistant/zigbee2mqtt.nix b/configs/pepe/home-assistant/zigbee2mqtt.nix index 794bd64..f81b041 100644 --- a/configs/pepe/home-assistant/zigbee2mqtt.nix +++ b/configs/pepe/home-assistant/zigbee2mqtt.nix @@ -17,7 +17,16 @@ let "temperature_sensor_1".id = "0x00158d0002d79220"; "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 @@ -121,6 +130,7 @@ in { state_topic = "zigbee2mqtt/${name}"; availability_topic = "zigbee2mqtt/bridge/state"; unit_of_measurement = "%"; + icon = "mdi:battery-10"; value_template = "{{ value_json.battery }}"; } {