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 }}"; } {