From b321a489a0a83c8de32bceac4eac3437d1a1b287 Mon Sep 17 00:00:00 2001 From: Christian Allred <13487734+cgallred@users.noreply.github.com> Date: Wed, 20 Dec 2023 00:30:51 -0800 Subject: [PATCH 1/9] Add devices to library (#105) - Aeotec ZWA003 Z-Wave 4-button remote - Ecolink DWZWAVE25 Z-Wave contact sensor - SmartThings IM6001-BTP01 Zigbee button - SmartThings IM6001-MTP01 Zigbee motion sensor --- .../battery_notes/data/library.json | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/custom_components/battery_notes/data/library.json b/custom_components/battery_notes/data/library.json index 6392448dc..ebde13534 100644 --- a/custom_components/battery_notes/data/library.json +++ b/custom_components/battery_notes/data/library.json @@ -2,6 +2,11 @@ "$schema": "../../../schema.json", "version": 1, "devices": [ + { + "manufacturer": "Aeotec Ltd.", + "model": "ZWA003", + "battery_type": "LIR2450" + }, { "manufacturer": "Airthings AS", "model": "Wave Plus", @@ -69,6 +74,11 @@ "model": "EBERS41", "battery_type": "CR2477" }, + { + "manufacturer": "Ecolink", + "model": "DWZWAVE25", + "battery_type": "CR123A" + }, { "manufacturer": "Eve Systems", "model": "Eve Door 20EBN9901", @@ -597,6 +607,16 @@ "model": "Compact magnetic contact sensor (AV2010/21A)", "battery_type": "CR2" }, + { + "manufacturer": "SmartThings", + "model": "Button (IM6001-BTP01)", + "battery_type": "CR2450" + }, + { + "manufacturer": "SmartThings", + "model": "Motion sensor (2018 model) (IM6001-MTP01)", + "battery_type": "CR2" + }, { "manufacturer": "SmartThings", "model": "Multipurpose sensor (2018 model) (IM6001-MPP01)", From efd12adfefd019766c9192cf19e890eef9bbe380 Mon Sep 17 00:00:00 2001 From: Pier Janssen Date: Wed, 20 Dec 2023 09:31:46 +0100 Subject: [PATCH 2/9] Update library.json (#106) Adds the Xiaomi MiJia door & window contact sensor (MCCGQ01LM) --- custom_components/battery_notes/data/library.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/custom_components/battery_notes/data/library.json b/custom_components/battery_notes/data/library.json index ebde13534..040b69584 100644 --- a/custom_components/battery_notes/data/library.json +++ b/custom_components/battery_notes/data/library.json @@ -930,6 +930,11 @@ "model": "MiJia wireless switch (WXKG01LM)", "battery_type": "CR2032" }, + { + "manufacturer": "Xiaomi", + "model": "MiJia door & window contact sensor (MCCGQ01LM)", + "battery_type": "CR1632" + }, { "manufacturer": "Xiaomi", "model": "RTCGQ01LM", From 9fcbcfd71b39fd443d90370e2f5510b5743821bd Mon Sep 17 00:00:00 2001 From: Rodney Smith <38564867+Rodney-Smith@users.noreply.github.com> Date: Wed, 20 Dec 2023 00:34:14 -0800 Subject: [PATCH 3/9] Update library.json Added Third Reality devices (#107) * Update library.json Added Third Reality devices Added Third Reality, Inc Zigbee devices, 3RDS17BZ, 3RSS009Z, 3RWS18BZ * Update library.json Added SwitchBot devices Added Indoor/Outdoor Thermo-Hygrometer as WoIOSensorTH and Curtain as WoCurtain and rechargeable battery * Update library.json * Update library.json --------- Co-authored-by: Andrew Jackson --- .../battery_notes/data/library.json | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/custom_components/battery_notes/data/library.json b/custom_components/battery_notes/data/library.json index 040b69584..701338248 100644 --- a/custom_components/battery_notes/data/library.json +++ b/custom_components/battery_notes/data/library.json @@ -682,11 +682,22 @@ "battery_type": "AAA", "battery_quantity": 2 }, + { + "manufacturer": "switchbot", + "model": "WoCurtain", + "battery_type": "Rechargeable" + }, { "manufacturer": "switchbot", "model": "woHand", "battery_type": "CR2" }, + { + "manufacturer": "switchbot", + "model": "WoIOSensorTH", + "battery_type": "AAA", + "battery_quantity": 2 + }, { "manufacturer": "Tado", "model": "RU01", @@ -723,6 +734,24 @@ "battery_type": "AAA", "battery_quantity": 2 }, + { + "manufacturer": "Third Reality, Inc", + "model": "3RDS17BZ", + "battery_type": "AAA", + "battery_quantity": 2 + }, + { + "manufacturer": "Third Reality, Inc", + "model": "3RSS009Z", + "battery_type": "AAA", + "battery_quantity": 2 + }, + { + "manufacturer": "Third Reality, Inc", + "model": "3RWS18BZ", + "battery_type": "AAA", + "battery_quantity": 2 + }, { "manufacturer": "TT Lock", "model": "SN511-180MS_PV53", From 323339224149a0c18228e6379d6663cc2ba125cc Mon Sep 17 00:00:00 2001 From: 4D4M-Github <123521171+4D4M-Github@users.noreply.github.com> Date: Wed, 20 Dec 2023 09:42:42 +0100 Subject: [PATCH 4/9] Update library.json (#108) * Update library.json Adding some new items. ps.: "Door sensor (TS0203)" is duplicated (there are at least two versions) * Update library.json Removed Tuya TS0203 AAA and replace with CR2032 Seems more common and I can't have duplicate devices. --------- Co-authored-by: Andrew Jackson --- .../battery_notes/data/library.json | 42 +++++++++++++++++-- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/custom_components/battery_notes/data/library.json b/custom_components/battery_notes/data/library.json index 701338248..98982bcb7 100644 --- a/custom_components/battery_notes/data/library.json +++ b/custom_components/battery_notes/data/library.json @@ -441,6 +441,18 @@ "battery_type": "AA", "battery_quantity": 2 }, + { + "manufacturer": "Netatmo", + "model": "Smart Thermostat", + "battery_type": "AAA", + "battery_quantity": 3 + }, + { + "manufacturer": "Netatmo", + "model": "Smart Outdoor Module", + "battery_type": "AAA", + "battery_quantity": 2 + }, { "manufacturer": "Oral-B", "model": "Genius X", @@ -758,17 +770,31 @@ "battery_type": "AA", "battery_quantity": 4 }, + { + "manufacturer": "TuYa", + "model": "Button scene switch (SH-SC07)", + "battery_type": "CR2032" + }, { "manufacturer": "TuYa", "model": "Door sensor (TS0203)", - "battery_type": "AAA", - "battery_quantity": 2 - }, + "battery_type": "CR2032" + }, + { + "manufacturer": "TuYa", + "model": "Door sensor (ZD08)", + "battery_type": "CR2032" + }, { "manufacturer": "TuYa", "model": "IH012-RT01", "battery_type": "CR2450" }, + { + "manufacturer": "TuYa", + "model": "Luminance door sensor (ZG-102ZL)", + "battery_type": "CR2032" + }, { "manufacturer": "TuYa", "model": "Luminance motion sensor (ZG-204ZL)", @@ -780,12 +806,22 @@ "battery_type": "AA", "battery_quantity": 2 }, + { + "manufacturer": "TuYa", + "model": "Temperature & humidity sensor (IH-K009)", + "battery_type": "CR2450" + }, { "manufacturer": "TuYa", "model": "Temperature & humidity sensor (WSD500A)", "battery_type": "AAA", "battery_quantity": 2 }, + { + "manufacturer": "TuYa", + "model": "Temperature and humidity sensor (ZTH05)", + "battery_type": "CR2032" + }, { "manufacturer": "TuYa", "model": "Temperature & humidity sensor with display (TS0201)", From 90138c35d758714eb1090cddb77886082532584e Mon Sep 17 00:00:00 2001 From: Edouard Kleinhans Date: Wed, 20 Dec 2023 09:46:08 +0100 Subject: [PATCH 5/9] Update library.json (#109) Add Xiaomi Aqara temperature, humidity and pressure sensor (WSDCGQ11LM) & NEO Temperature & humidity sensor and alarm (NAS-AB02B0) Co-authored-by: Andrew Jackson --- .../battery_notes/data/library.json | 67 ++++--------------- 1 file changed, 12 insertions(+), 55 deletions(-) diff --git a/custom_components/battery_notes/data/library.json b/custom_components/battery_notes/data/library.json index 98982bcb7..fb964697e 100644 --- a/custom_components/battery_notes/data/library.json +++ b/custom_components/battery_notes/data/library.json @@ -18,12 +18,6 @@ "model": "MEGOS switch and dimming light remote control (141L100RC)", "battery_type": "CR2450" }, - { - "manufacturer": "August Home Inc.", - "model": "ASL6_05/101300/SI", - "battery_type": "AA", - "battery_quantity": 4 - }, { "manufacturer": "Bosch", "model": "Radiator thermostat II (BTH-RA)", @@ -41,12 +35,6 @@ "model": "Xiaomi temperature & humidity sensor with custom firmware (LYWSD03MMC)", "battery_type": "CR2032" }, - { - "manufacturer": "Danfoss", - "model": "eTRV0100", - "battery_type": "AA", - "battery_quantity": 2 - }, { "manufacturer": "Develco", "model": "Smoke detector with siren (SMSZB-120)", @@ -214,12 +202,6 @@ "battery_type": "AA", "battery_quantity": 3 }, - { - "manufacturer": "HANK Electronics Ltd.", - "model": "HKZW-DWS01", - "battery_type": "AAA", - "battery_quantity": 2 - }, { "manufacturer": "HEIMAN", "model": "Smart carbon monoxide sensor (HS1CA-E)", @@ -441,6 +423,12 @@ "battery_type": "AA", "battery_quantity": 2 }, + { + "manufacturer": "Neo", + "model": "Temperature & humidity sensor and alarm (NAS-AB02B0)", + "battery_type": "CR123A", + "battery_quantity": 2 + }, { "manufacturer": "Netatmo", "model": "Smart Thermostat", @@ -543,21 +531,6 @@ "model": "Ruuvitag", "battery_type": "CR2477T" }, - { - "manufacturer": "Samjin", - "model": "motion", - "battery_type": "CR2" - }, - { - "manufacturer": "Samjin", - "model": "multi", - "battery_type": "CR2450" - }, - { - "manufacturer": "Samjin", - "model": "water", - "battery_type": "CR2" - }, { "manufacturer": "Saswell", "model": "Thermostatic radiator valve (SEA801-Zigbee/SEA802-Zigbee)", @@ -592,12 +565,6 @@ "battery_type": "AA", "battery_quantity": 2 }, - { - "manufacturer": "Signify Netherlands B.V.", - "model": "SML003", - "battery_type": "AAA", - "battery_quantity": 2 - }, { "manufacturer": "Signify Netherlands B.V.", "model": "Hue dimmer switch (RWL020)", @@ -659,11 +626,6 @@ "model": "Temperature and humidity sensor with screen (SNZB-02D)", "battery_type": "CR2450" }, - { - "manufacturer": "SONOFF", - "model": "Wireless button (SNZB-01)", - "battery_type": "CR2450" - }, { "manufacturer": "Sure Petcare", "model": "Cat flap", @@ -1010,6 +972,12 @@ "model": "WSDCGQ01LM", "battery_type": "CR2032" }, + { + "manufacturer": "Xiaomi", + "model": "MiJia temperature & humidity sensor (WSDCGQ01LM)", + "battery_type": "CR2032" + }, + { "manufacturer": "Xiaomi", "model": "XMTZC02HM/XMTZC05HM/NUN4049CN", @@ -1036,17 +1004,6 @@ "model": "TS004F", "battery_type": "CR2032" }, - { - "manufacturer": "_TZ3000_k4ej3ww2", - "model": "TS0207", - "battery_type": "CR2032" - }, - { - "manufacturer": "_TZ3210_up3pngle", - "model": "TS0205", - "battery_type": "AAA", - "battery_quantity": 2 - }, { "manufacturer": "_TZ3000_fllyghyj", "model": "TS0201", From f3e8ec8de8a3c5639528e2a29183d9e593666490 Mon Sep 17 00:00:00 2001 From: misa1515 <61636045+misa1515@users.noreply.github.com> Date: Wed, 20 Dec 2023 09:48:54 +0100 Subject: [PATCH 6/9] Create sk.json (#110) --- .../battery_notes/translations/sk.json | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 custom_components/battery_notes/translations/sk.json diff --git a/custom_components/battery_notes/translations/sk.json b/custom_components/battery_notes/translations/sk.json new file mode 100644 index 000000000..12a9cc681 --- /dev/null +++ b/custom_components/battery_notes/translations/sk.json @@ -0,0 +1,54 @@ +{ + "config": { + "step": { + "user": { + "description": "Ak potrebujete pomoc s konfiguráciou, pozrite sa sem: https://github.com/andrew-codechimp/ha-battery-notes", + "data": { + "device_id": "Zariadenie", + "name": "Názov" + }, + "data_description": { + "name": "Ak ponecháte prázdne, názov sa prevezme zo zdrojového zariadenia" + } + }, + "battery": { + "data": { + "battery_type": "Typ batérie" + }, + "data_description": { + "battery_type": "Voliteľne pridajte množstvo batérie, ak je viac ako 1 napr. 2x AAA" + } + } + }, + "abort": { + "already_configured": "Zariadenie je už nakonfigurované" + }, + "error": { + "unknown": "Vyskytla sa neznáma chyba." + } + }, + "options": { + "step": { + "init": { + "description": "Ak potrebujete pomoc s konfiguráciou, pozrite sa sem: https://github.com/andrew-codechimp/ha-battery-notes", + "data": { + "name": "Názov", + "battery_type": "Typ batérie" + }, + "data_description": { + "name": "Ak ponecháte prázdne, názov sa prevezme zo zdrojového zariadenia" + } + } + }, + "error": { + "unknown": "Vyskytla sa neznáma chyba." + } + }, + "entity": { + "sensor": { + "battery_type": { + "name": "Typ batérie" + } + } + } +} From 6d3163e6fb5510b3bef3718e15d16cb0dd32b402 Mon Sep 17 00:00:00 2001 From: Pier Janssen Date: Wed, 20 Dec 2023 09:49:48 +0100 Subject: [PATCH 7/9] Update library.json (#111) Adds a few older Xiaomi switches and sensors --- .../battery_notes/data/library.json | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/custom_components/battery_notes/data/library.json b/custom_components/battery_notes/data/library.json index fb964697e..0ee546611 100644 --- a/custom_components/battery_notes/data/library.json +++ b/custom_components/battery_notes/data/library.json @@ -839,6 +839,11 @@ "model": "Aqara door & window contact sensor (MCCGQ11LM)", "battery_type": "CR1632" }, + { + "manufacturer": "Xiaomi", + "model": "Aqara double key wireless wall switch (2016 model) (WXKG02LM_rev1)", + "battery_type": "CR2032" + }, { "manufacturer": "Xiaomi", "model": "Aqara E1 door & window contact sensor (MCCGQ14LM)", @@ -855,6 +860,16 @@ "battery_type": "CR2450", "battery_quantity": 2 }, + { + "manufacturer": "Xiaomi", + "model": "Aqara single key wireless wall switch (2016 model) (WXKG03LM_rev1)", + "battery": "CR2032" + }, + { + "manufacturer": "Xiaomi", + "model": "Aqara single key wireless wall switch (2018 model) (WXKG03LM_rev2)", + "battery_type": "CR2032" + }, { "manufacturer": "Xiaomi", "model": "Aqara temperature, humidity and pressure sensor (WSDCGQ11LM)", @@ -951,7 +966,16 @@ "model": "MiJia Honeywell smoke detector (JTYJ-GD-01LM/BW)", "battery_type": "CR123A", "battery_quantity": 2 - }, + }, + { + "manufacturer": "Xiaomi", + "model": "MiJia human body movement sensor (RTCGQ01LM)", + "battery_type": "CR2450" + }, + { + "manufacturer": "Xiaomi", + "model": "MiJia light intensity sensor (GZCGQ01LM)", + "battery_type": "CR2450" { "manufacturer": "Xiaomi", "model": "MiJia wireless switch (WXKG01LM)", From 09c1bc48c82aaf715c6aee2c81d8b99db4dcbfc0 Mon Sep 17 00:00:00 2001 From: Andrew Jackson Date: Wed, 20 Dec 2023 08:52:17 +0000 Subject: [PATCH 8/9] Fix library json --- .../battery_notes/data/library.json | 132 +++++++++--------- 1 file changed, 66 insertions(+), 66 deletions(-) diff --git a/custom_components/battery_notes/data/library.json b/custom_components/battery_notes/data/library.json index 0ee546611..f491ed758 100644 --- a/custom_components/battery_notes/data/library.json +++ b/custom_components/battery_notes/data/library.json @@ -17,13 +17,13 @@ "manufacturer": "Aldi", "model": "MEGOS switch and dimming light remote control (141L100RC)", "battery_type": "CR2450" - }, + }, { "manufacturer": "Bosch", "model": "Radiator thermostat II (BTH-RA)", "battery_type": "AA", "battery_quantity": 2 - }, + }, { "manufacturer": "Allegion", "model": "BE469ZP", @@ -34,7 +34,7 @@ "manufacturer": "Custom devices (DiY)", "model": "Xiaomi temperature & humidity sensor with custom firmware (LYWSD03MMC)", "battery_type": "CR2032" - }, + }, { "manufacturer": "Develco", "model": "Smoke detector with siren (SMSZB-120)", @@ -97,77 +97,77 @@ "manufacturer": "eQ-3", "model": "HmIP-WRC6", "battery_type": "AAA", - "battery_quantity": 2 + "battery_quantity": 2 }, { "manufacturer": "eQ-3", "model": "HmIP-SMI55", "battery_type": "AAA", - "battery_quantity": 2 + "battery_quantity": 2 }, { "manufacturer": "eQ-3", "model": "HmIP-SMI", "battery_type": "AA", - "battery_quantity": 2 + "battery_quantity": 2 }, { "manufacturer": "eQ-3", "model": "HmIP-SMO", "battery_type": "AA", - "battery_quantity": 2 + "battery_quantity": 2 }, { "manufacturer": "eQ-3", "model": "HmIP-SCI", "battery_type": "AAA", - "battery_quantity": 2 - }, + "battery_quantity": 2 + }, { "manufacturer": "eQ-3", "model": "HMIP-SWDO", - "battery_type": "AAA" - }, + "battery_type": "AAA" + }, { "manufacturer": "eQ-3", "model": "HMIP-SWDO-I", - "battery_type": "AAA" - }, + "battery_type": "AAA" + }, { "manufacturer": "eQ-3", "model": "HmIP-SRH", - "battery_type": "AAA" - }, + "battery_type": "AAA" + }, { "manufacturer": "eQ-3", "model": "HmIP-SWDM", "battery_type": "AAA", - "battery_quantity": 2 - }, + "battery_quantity": 2 + }, { "manufacturer": "eQ-3", "model": "HMIP-eTRV", "battery_type": "AA", - "battery_quantity": 2 - }, + "battery_quantity": 2 + }, { "manufacturer": "eQ-3", "model": "HMIP-eTRV-E", "battery_type": "AA", - "battery_quantity": 2 - }, + "battery_quantity": 2 + }, { "manufacturer": "eQ-3", "model": "HMIP-eTRV-B", "battery_type": "AA", - "battery_quantity": 2 - }, + "battery_quantity": 2 + }, { "manufacturer": "eQ-3", "model": "HMIP-eTRV-2", "battery_type": "AA", - "battery_quantity": 2 - }, + "battery_quantity": 2 + }, { "manufacturer": "Fantem", "model": "4 in 1 multi sensor (ZB003-X)", @@ -178,7 +178,7 @@ "manufacturer": "Fibargroup", "model": "FGSD002", "battery_type": "CR123A" - }, + }, { "manufacturer": "frient", "model": "MOSZB-140", @@ -195,7 +195,7 @@ "manufacturer": "Google", "model": "KR1", "battery_type": "CR2" - }, + }, { "manufacturer": "Google", "model": "Topaz-2.7", @@ -245,7 +245,7 @@ "manufacturer": "IKEA", "model": "SYMFONISK sound controller (E1744)", "battery_type": "CR2032" - }, + }, { "manufacturer": "IKEA", "model": "TRADFRI ON/OFF switch (E1743)", @@ -302,13 +302,13 @@ "manufacturer": "iRobot", "model": "i715640", "battery_type": "Rechargeable" - }, + }, { "manufacturer": "Kwikset", "model": "HALO-01", "battery_type": "AA", "battery_quantity": 4 - }, + }, { "manufacturer": "Lidl", "model": "HG06335/HG07310", @@ -319,7 +319,7 @@ "model": "HG06336", "battery_type": "AAA", "battery_quantity": 2 - }, + }, { "manufacturer": "Lidl", "model": "Silvercrest radiator valve with thermostat (368308_2010)", @@ -330,7 +330,7 @@ "manufacturer": "Linkind", "model": "Door/window Sensor (ZS110050078)", "battery_type": "CR2032" - }, + }, { "manufacturer": "Linkind", "model": "PIR motion sensor, wireless motion detector (ZS1100400-IN-V1A02)", @@ -341,12 +341,12 @@ "model": "Security keypad battery (ZS130000078)", "battery_type": "CR123A", "battery_quantity": 2 - }, + }, { "manufacturer": "LUMI", "model": "lumi.curtain.acn002", "battery_type": "Rechargeable" - }, + }, { "manufacturer": "LUMI", "model": "lumi.remote.b1acn01", @@ -371,7 +371,7 @@ "manufacturer": "LUMI", "model": "lumi.sensor_switch.aq3", "battery_type": "CR2032" - }, + }, { "manufacturer": "LUMI", "model": "lumi.sen_ill.mgl01", @@ -391,12 +391,12 @@ "manufacturer": "LUMI", "model": "lumi.sensor_magnet.aq2", "battery_type": "CR1632" - }, + }, { "manufacturer": "LUMI", "model": "lumi.sensor_motion.aq2", "battery_type": "CR2450" - }, + }, { "manufacturer": "LUMI", "model": "lumi.sensor_wleak.aq1", @@ -411,7 +411,7 @@ "manufacturer": "LUMI", "model": "lumi.weather", "battery_type": "CR2032" - }, + }, { "manufacturer": "Meross", "model": "ms100", @@ -422,13 +422,13 @@ "model": "Thermostatic radiator valve (BRT-100-TRV)", "battery_type": "AA", "battery_quantity": 2 - }, + }, { "manufacturer": "Neo", "model": "Temperature & humidity sensor and alarm (NAS-AB02B0)", "battery_type": "CR123A", "battery_quantity": 2 - }, + }, { "manufacturer": "Netatmo", "model": "Smart Thermostat", @@ -445,7 +445,7 @@ "manufacturer": "Oral-B", "model": "Genius X", "battery_type": "Rechargeable" - }, + }, { "manufacturer": "Oral-B", "model": "IO Series 6/7", @@ -455,12 +455,12 @@ "manufacturer": "Oras", "model": "Electra Washbasin Faucet", "battery_type": "2CR5" - }, + }, { "manufacturer": "ORVIBO", "model": "e70f96b3773a4c9283c6862dbafb6a99", "battery_type": "CR2032" - }, + }, { "manufacturer": "OSRAM", "model": "Smart+ switch mini (AC0251100NJ/AC0251600NJ/AC0251700NJ)", @@ -486,7 +486,7 @@ "model": "Hue motion outdoor sensor (9290019758)", "battery_type": "AA", "battery_quantity": 2 - }, + }, { "manufacturer": "Philips", "model": "Hue motion outdoor sensor (9290030674)", @@ -514,7 +514,7 @@ "manufacturer": "Philips", "model": "RWL021", "battery_type": "CR2450" - }, + }, { "manufacturer": "Ring", "model": "Doorbell 2", @@ -615,7 +615,7 @@ "manufacturer": "Sonoff", "model": "SNZB-02", "battery_type": "CR2450" - }, + }, { "manufacturer": "Sonoff", "model": "Temperature and humidity sensor (SNZB-02)", @@ -649,13 +649,13 @@ "model": "W1201500", "battery_type": "AAA", "battery_quantity": 2 - }, + }, { "manufacturer": "SwitchBot", "model": "W340001X", "battery_type": "AAA", "battery_quantity": 2 - }, + }, { "manufacturer": "switchbot", "model": "WoCurtain", @@ -736,13 +736,13 @@ "manufacturer": "TuYa", "model": "Button scene switch (SH-SC07)", "battery_type": "CR2032" - }, + }, { "manufacturer": "TuYa", "model": "Door sensor (TS0203)", "battery_type": "CR2032" }, - { + { "manufacturer": "TuYa", "model": "Door sensor (ZD08)", "battery_type": "CR2032" @@ -761,7 +761,7 @@ "manufacturer": "TuYa", "model": "Luminance motion sensor (ZG-204ZL)", "battery_type": "CR2450" - }, + }, { "manufacturer": "TuYa", "model": "Soil sensor (TS0601_soil)", @@ -794,13 +794,13 @@ "manufacturer": "TuYa", "model": "TS0203", "battery_type": "CR2032" - }, + }, { "manufacturer": "TuYa", "model": "TS0601_smoke_1", "battery_type": "AAA", "battery_quantity": 2 - }, + }, { "manufacturer": "TuYa", "model": "Smart knob (ERS-10TZBVK-AA)", @@ -817,7 +817,7 @@ "model": "Water leak detector (TS0207_water_leak_detector)", "battery_type": "AAA", "battery_quantity": 2 - }, + }, { "manufacturer": "TuYa", "model": "Wireless switch with 4 buttons (TS0044)", @@ -827,7 +827,7 @@ "manufacturer": "TuYa", "model": "Zigbee water leak sensor (TS0207_water_leak_detector_2)", "battery_type": "CR2032" - }, + }, { "manufacturer": "VictorPest.com", "model": "Rat Trap", @@ -848,7 +848,7 @@ "manufacturer": "Xiaomi", "model": "Aqara E1 door & window contact sensor (MCCGQ14LM)", "battery_type": "CR1632" - }, + }, { "manufacturer": "Xiaomi", "model": "Aqara human body movement and illuminance sensor (RTCGQ11LM)", @@ -863,7 +863,7 @@ { "manufacturer": "Xiaomi", "model": "Aqara single key wireless wall switch (2016 model) (WXKG03LM_rev1)", - "battery": "CR2032" + "battery_type": "CR2032" }, { "manufacturer": "Xiaomi", @@ -894,12 +894,12 @@ "manufacturer": "Xiaomi", "model": "Aqara Opple switch 2 bands (WXCJKG12LM)", "battery_type": "CR2032" - }, + }, { "manufacturer": "Xiaomi", "model": "Aqara Opple switch 3 bands (WXCJKG13LM)", "battery_type": "CR2032" - }, + }, { "manufacturer": "Xiaomi", "model": "Aqara T1 light intensity sensor (GZCGQ11LM)", @@ -945,7 +945,7 @@ "manufacturer": "Xiaomi", "model": "LYWSDCGQ", "battery_type": "AAA" - }, + }, { "manufacturer": "Xiaomi", "model": "MCCGQ01LM", @@ -976,6 +976,7 @@ "manufacturer": "Xiaomi", "model": "MiJia light intensity sensor (GZCGQ01LM)", "battery_type": "CR2450" + }, { "manufacturer": "Xiaomi", "model": "MiJia wireless switch (WXKG01LM)", @@ -990,24 +991,23 @@ "manufacturer": "Xiaomi", "model": "RTCGQ01LM", "battery_type": "CR2450" - }, + }, { "manufacturer": "Xiaomi", "model": "WSDCGQ01LM", "battery_type": "CR2032" - }, + }, { "manufacturer": "Xiaomi", "model": "MiJia temperature & humidity sensor (WSDCGQ01LM)", "battery_type": "CR2032" - }, - + }, { "manufacturer": "Xiaomi", "model": "XMTZC02HM/XMTZC05HM/NUN4049CN", "battery_type": "AAA", "battery_quantity": 4 - }, + }, { "manufacturer": "Zooz", "model": "ZSE40 700", @@ -1035,4 +1035,4 @@ "battery_quantity": 2 } ] -} +} \ No newline at end of file From b9c339c3311864eb36b1071270d078afa0e3bd04 Mon Sep 17 00:00:00 2001 From: cargas94 <56661121+cargas94@users.noreply.github.com> Date: Wed, 20 Dec 2023 03:35:59 -0600 Subject: [PATCH 9/9] Add Aqara Door and Window Sensor P2 (#112) * Add Aqara Door and Window Sensor P2 Added Aqara Door and Window Sensor P2 by Aqara. This is the device info displayed when added to HA via SkyConnect and the Matter (BETA) integration. * Update library.json --------- Co-authored-by: Andrew Jackson --- custom_components/battery_notes/data/library.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/custom_components/battery_notes/data/library.json b/custom_components/battery_notes/data/library.json index f491ed758..545c6a86f 100644 --- a/custom_components/battery_notes/data/library.json +++ b/custom_components/battery_notes/data/library.json @@ -18,6 +18,11 @@ "model": "MEGOS switch and dimming light remote control (141L100RC)", "battery_type": "CR2450" }, + { + "manufacturer": "Aqara", + "model": "Aqara Door and Window Sensor P2", + "battery_type": "CR123A" + }, { "manufacturer": "Bosch", "model": "Radiator thermostat II (BTH-RA)", @@ -1035,4 +1040,4 @@ "battery_quantity": 2 } ] -} \ No newline at end of file +}