andrew-codechimp / HA-Battery-Notes

A Home Assistant integration to provide battery notes of devices
MIT License
570 stars 98 forks source link

AttributeError: 'NoneType' object has no attribute 'created_at' since last update #2280

Closed llaumgui closed 4 weeks ago

llaumgui commented 4 weeks ago

System Health details

System Information

version core-2024.10.4
installation_type Home Assistant Container
dev false
hassio false
docker true
user root
virtualenv false
python_version 3.12.4
os_name Linux
os_version 6.8.12-2-pve
arch x86_64
timezone Europe/Paris
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok HACS Data | ok GitHub API Calls Remaining | 4998 Installed Version | 2.0.1 Stage | running Available Repositories | 1528 Downloaded Repositories | 20
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Dashboards dashboards | 3 -- | -- resources | 12 views | 9 mode | storage
Recorder oldest_recorder_run | 16 octobre 2024 à 18:23 -- | -- current_recorder_run | 1 novembre 2024 à 17:23 estimated_db_size | 61.38 MiB database_engine | sqlite database_version | 3.45.3

Checklist

Describe the issue

Echec of configuration for device:

 Fabricant : Neo
 Modèle : Outdoor solar alarm (NAS-AB06B2)
 ID modèle :
 Version du matériel 
```: 

### Reproduction steps

1. Go to settings.
2. Clic on configure the device in echec.
3. See log:

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 594, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/battery_notes/init.py", line 171, in async_setup_entry if not await device.async_setup(): ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/battery_notes/device.py", line 202, in async_setup if entity.created_at.year > 1970: ^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'created_at'


### Debug logs

```text
2024-11-01 17:23:49.461 DEBUG (MainThread) [custom_components.battery_notes.library_updater] Updated library
2024-11-01 17:23:49.461 DEBUG (MainThread) [custom_components.battery_notes.discovery] Start auto discovering devices
2024-11-01 17:23:49.461 DEBUG (MainThread) [custom_components.battery_notes.library] Using library file at /config/custom_components/battery_notes/data/library.json
2024-11-01 17:23:49.461 DEBUG (MainThread) [homeassistant.loader] Component analytics import took 1.835 seconds (loaded_executor=True)
2024-11-01 17:23:49.461 INFO (MainThread) [homeassistant.setup] Setting up analytics
2024-11-01 17:23:49.461 DEBUG (MainThread) [homeassistant.helpers.storage] core.analytics: Cache hit data
2024-11-01 17:23:49.461 INFO (MainThread) [homeassistant.setup] Setup of domain analytics took 0.00 seconds
2024-11-01 17:23:49.462 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=analytics>
2024-11-01 17:23:49.467 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event panels_updated[L]>
2024-11-01 17:23:49.468 DEBUG (MainThread) [custom_components.battery_notes.library] Loaded 1241 default devices
2024-11-01 17:23:49.468 DEBUG (MainThread) [custom_components.battery_notes.discovery] 595eb4ff6f2798688fae94bf9d2dd428: Cannot autodiscover device, manufacturer or model unknown from device registry
2024-11-01 17:23:49.468 DEBUG (MainThread) [custom_components.battery_notes.discovery] 31822e6f10dbf8555326708c56e86c48: Auto discovered device (manufacturer=Delta Dore, model=Volet)
2024-11-01 17:23:49.469 DEBUG (MainThread) [custom_components.battery_notes.discovery] c0dc4a1a4b9daae113b1b52916a4af9a: Auto discovered device (manufacturer=Delta Dore, model=Volet)
2024-11-01 17:23:49.469 DEBUG (MainThread) [custom_components.battery_notes.discovery] f368aed941469e47de6d65c7e5fe5023: Auto discovered device (manufacturer=Delta Dore, model=Volet)
2024-11-01 17:23:49.470 DEBUG (MainThread) [custom_components.battery_notes.discovery] 3a0283325423f77709c01e982d3d2d2c: Auto discovered device (manufacturer=Delta Dore, model=Volet)
2024-11-01 17:23:49.470 DEBUG (MainThread) [custom_components.battery_notes.discovery] df1f14062a604a55689fd579e38bdf92: Auto discovered device (manufacturer=Delta Dore, model=Volet)
2024-11-01 17:23:49.470 DEBUG (MainThread) [custom_components.battery_notes.discovery] 142db44dd08c03780d79f35d520fa1c6: Auto discovered device (manufacturer=Delta Dore, model=Volet)
2024-11-01 17:23:49.470 DEBUG (MainThread) [custom_components.battery_notes.discovery] b3655afef0af6d7de7551f68816e5143: Auto discovered device (manufacturer=Delta Dore, model=Volet)
2024-11-01 17:23:49.471 DEBUG (MainThread) [custom_components.battery_notes.discovery] cf2b54fbbad5f8307b7cac580cd6e4fa: Auto discovered device (manufacturer=Xiaomi, model=22021211RG)
2024-11-01 17:23:49.471 DEBUG (MainThread) [custom_components.battery_notes.discovery] bac5d030015df86cffbdd1916890b43d: Cannot autodiscover device, manufacturer or model unknown from device registry
2024-11-01 17:23:49.471 DEBUG (MainThread) [custom_components.battery_notes.discovery] 59a35250e72ec6c7a18af612cb84a8fe: Cannot autodiscover device, manufacturer or model unknown from device registry
2024-11-01 17:23:49.471 DEBUG (MainThread) [custom_components.battery_notes.discovery] 58be36e55e7cc307791dcbcf87ca91f9: Auto discovered device (manufacturer=Dacia, model=Spring)
2024-11-01 17:23:49.472 DEBUG (MainThread) [custom_components.battery_notes.discovery] 7a15dea765dfc0e60a2a91ff5ba5bd7c: Auto discovered device (manufacturer=Daikin, model=NOTSUPPORT)
2024-11-01 17:23:49.472 DEBUG (MainThread) [custom_components.battery_notes.discovery] a010edba130dfda29ac29a5137ed9868: Auto discovered device (manufacturer=Météo-France, model=Météo-France mobile API)
2024-11-01 17:23:49.472 DEBUG (MainThread) [custom_components.battery_notes.discovery] 6c8381ea3bf560e7b4bad5796f6abddf: Cannot autodiscover device, manufacturer or model unknown from device registry
2024-11-01 17:23:49.472 DEBUG (MainThread) [custom_components.battery_notes.discovery] 7d489c67ab66384be07b36a8623f4ad3: Cannot autodiscover device, manufacturer or model unknown from device registry
2024-11-01 17:23:49.472 DEBUG (MainThread) [custom_components.battery_notes.discovery] 89bb33cf4bb941f21a3004408e40fc6d: Auto discovered device (manufacturer=catppuccin, model=theme)
2024-11-01 17:23:49.473 DEBUG (MainThread) [custom_components.battery_notes.discovery] 51319acd7bf7e71c72ebdd3d62ab529b: Auto discovered device (manufacturer=jcwillox, model=integration)
2024-11-01 17:23:49.473 DEBUG (MainThread) [custom_components.battery_notes.discovery] dcc47bfbaf803ee98870b5afdd91b90a: Cannot autodiscover device, manufacturer or model unknown from device registry
2024-11-01 17:23:49.474 DEBUG (MainThread) [custom_components.battery_notes.discovery] 5d5e35e85294a9ff9e040c03ecd34bf2: Auto discovered device (manufacturer=BeryJu, model=integration)
2024-11-01 17:23:49.474 DEBUG (MainThread) [custom_components.battery_notes.discovery] 5b36bd7798ee8f6836194e509b21200c: Cannot autodiscover device, manufacturer or model unknown from device registry
2024-11-01 17:23:49.474 DEBUG (MainThread) [custom_components.battery_notes.discovery] 77e1ddb6cb8994d125cab9a1895ced35: Cannot autodiscover device, manufacturer or model unknown from device registry
2024-11-01 17:23:49.474 DEBUG (MainThread) [custom_components.battery_notes.discovery] bde6875282f7fbb8256224c2656ffd4e: Cannot autodiscover device, manufacturer or model unknown from device registry
2024-11-01 17:23:49.474 DEBUG (MainThread) [custom_components.battery_notes.discovery] 846cc02302fb2c6c104f352b3be77e2e: Cannot autodiscover device, manufacturer or model unknown from device registry
2024-11-01 17:23:49.474 DEBUG (MainThread) [custom_components.battery_notes.discovery] dbe5a3e9c6e0f83dbca77de046934bd6: Cannot autodiscover device, manufacturer or model unknown from device registry
2024-11-01 17:23:49.474 DEBUG (MainThread) [custom_components.battery_notes.discovery] b231bc0f2edb6ff73b4cca08cc283502: Cannot autodiscover device, manufacturer or model unknown from device registry
2024-11-01 17:23:49.474 DEBUG (MainThread) [custom_components.battery_notes.discovery] 532fa07cbddc0b47532df821441cfd9e: Cannot autodiscover device, manufacturer or model unknown from device registry
2024-11-01 17:23:49.474 DEBUG (MainThread) [custom_components.battery_notes.discovery] 63e371ddfaf3527bd454942c65ba7b94: Auto discovered device (manufacturer=thomasloven, model=plugin)
2024-11-01 17:23:49.474 DEBUG (MainThread) [custom_components.battery_notes.discovery] 7cbe77b257e900038529b4fab02bd9ff: Auto discovered device (manufacturer=piitaya, model=plugin)
2024-11-01 17:23:49.475 DEBUG (MainThread) [custom_components.battery_notes.discovery] 85fbdb74d479118b071b6f5d7036d2d7: Auto discovered device (manufacturer=piitaya, model=theme)
2024-11-01 17:23:49.475 DEBUG (MainThread) [custom_components.battery_notes.discovery] db541f8e6232c8d5cbfb521e6c2d5bcf: Auto discovered device (manufacturer=Mariusthvdb, model=plugin)
2024-11-01 17:23:49.475 DEBUG (MainThread) [custom_components.battery_notes.discovery] 5543c9e7f5c6d3ac5641abb764c91792: Auto discovered device (manufacturer=elax46, model=plugin)
2024-11-01 17:23:49.476 DEBUG (MainThread) [custom_components.battery_notes.discovery] 90018fa1091887c115b1969fbd5eb258: Auto discovered device (manufacturer=rejuvenate, model=plugin)
2024-11-01 17:23:49.476 DEBUG (MainThread) [custom_components.battery_notes.discovery] 9027450b7632789aadd53dd8508083ba: Auto discovered device (manufacturer=Google Inc., model=Google Home Mini)
2024-11-01 17:23:49.476 DEBUG (MainThread) [custom_components.battery_notes.discovery] dd6497f104fdce173667fa3983ed227c: Auto discovered device (manufacturer=Zigbee2MQTT, model=Bridge)
2024-11-01 17:23:49.477 DEBUG (MainThread) [custom_components.battery_notes.discovery] 58328e79acfda3c8dc3e3c713a01056c: Auto discovered device (manufacturer=IKEA, model=VINDSTYRKA air quality and humidity sensor (E2112))
2024-11-01 17:23:49.477 DEBUG (MainThread) [custom_components.battery_notes.discovery] 9fa9d3f97c1ab322ac43865835057e6f: Auto discovered device (manufacturer=Aqara, model=Door and window sensor (MCCGQ11LM))
2024-11-01 17:23:49.477 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_9fa9d3f97c1ab322ac43865835057e6f: Already setup, skipping new discovery
2024-11-01 17:23:49.477 DEBUG (MainThread) [custom_components.battery_notes.discovery] 872804ae47bf87f1542a9332fcfcbf5c: Auto discovered device (manufacturer=Aqara, model=Temperature and humidity sensor (WSDCGQ11LM))
2024-11-01 17:23:49.478 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_872804ae47bf87f1542a9332fcfcbf5c: Already setup, skipping new discovery
2024-11-01 17:23:49.478 DEBUG (MainThread) [custom_components.battery_notes.discovery] f38760fbd71cb0fbbb791bf7e3bc8452: Auto discovered device (manufacturer=IKEA, model=TRADFRI control outlet (E1603/E1702/E1708))
2024-11-01 17:23:49.478 DEBUG (MainThread) [custom_components.battery_notes.discovery] f1f06f71f5b0e4b0c12b9e7cd98c0792: Auto discovered device (manufacturer=Aqara, model=Door and window sensor (MCCGQ11LM))
2024-11-01 17:23:49.478 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_f1f06f71f5b0e4b0c12b9e7cd98c0792: Already setup, skipping new discovery
2024-11-01 17:23:49.478 DEBUG (MainThread) [custom_components.battery_notes.discovery] 721a9d01b397e5e388a4d54c7f95f556: Auto discovered device (manufacturer=OWON, model=Temperature sensor (THS317-ET))
2024-11-01 17:23:49.479 DEBUG (MainThread) [custom_components.battery_notes.discovery] dc5bff147ac7462855a266e84683fbfe: Auto discovered device (manufacturer=Aqara, model=Water leak sensor (SJCGQ11LM))
2024-11-01 17:23:49.479 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_dc5bff147ac7462855a266e84683fbfe: Already setup, skipping new discovery
2024-11-01 17:23:49.479 DEBUG (MainThread) [custom_components.battery_notes.discovery] b856a5d95785d5b66361e7a9b8571db7: Auto discovered device (manufacturer=Aqara, model=Temperature and humidity sensor (WSDCGQ11LM))
2024-11-01 17:23:49.480 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_b856a5d95785d5b66361e7a9b8571db7: Already setup, skipping new discovery
2024-11-01 17:23:49.480 DEBUG (MainThread) [custom_components.battery_notes.discovery] a53086981431c2049025cf2198385740: Auto discovered device (manufacturer=Aqara, model=Door and window sensor (MCCGQ11LM))
2024-11-01 17:23:49.480 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_a53086981431c2049025cf2198385740: Already setup, skipping new discovery
2024-11-01 17:23:49.480 DEBUG (MainThread) [custom_components.battery_notes.discovery] 5a2dfa1c732211e5fa1709f5a2eb7005: Auto discovered device (manufacturer=Aqara, model=Door and window sensor (MCCGQ11LM))
2024-11-01 17:23:49.480 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_5a2dfa1c732211e5fa1709f5a2eb7005: Already setup, skipping new discovery
2024-11-01 17:23:49.480 DEBUG (MainThread) [custom_components.battery_notes.discovery] 718c2d5bf0134fc72c270111ed0b47a7: Auto discovered device (manufacturer=Aqara, model=Water leak sensor (SJCGQ11LM))
2024-11-01 17:23:49.481 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_718c2d5bf0134fc72c270111ed0b47a7: Already setup, skipping new discovery
2024-11-01 17:23:49.481 DEBUG (MainThread) [custom_components.battery_notes.discovery] 81db9d222f3b6a388a40ccce956153ef: Auto discovered device (manufacturer=SONOFF, model=Temperature and humidity sensor (SNZB-02))
2024-11-01 17:23:49.481 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_81db9d222f3b6a388a40ccce956153ef: Already setup, skipping new discovery
2024-11-01 17:23:49.481 DEBUG (MainThread) [custom_components.battery_notes.discovery] 8be5957f2bb8c899fbe0f0836df070cc: Auto discovered device (manufacturer=Aqara, model=Door and window sensor (MCCGQ11LM))
2024-11-01 17:23:49.481 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_8be5957f2bb8c899fbe0f0836df070cc: Already setup, skipping new discovery
2024-11-01 17:23:49.481 DEBUG (MainThread) [custom_components.battery_notes.discovery] 5fe7267f50cccec092b916dd4b049fab: Auto discovered device (manufacturer=LiXee, model=Lixee ZLinky (ZLinky_TIC))
2024-11-01 17:23:49.482 DEBUG (MainThread) [custom_components.battery_notes.discovery] 8e23af8e13c70439ef584caf83d4ab28: Auto discovered device (manufacturer=Aqara, model=Wireless mini switch (with gyroscope) (WXKG12LM))
2024-11-01 17:23:49.482 DEBUG (MainThread) [custom_components.battery_notes.discovery] b3a3863f4f147a2d3405baebb8f85767: Auto discovered device (manufacturer=Develco, model=Keypad (KEYZB-110))
2024-11-01 17:23:49.482 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_b3a3863f4f147a2d3405baebb8f85767: Already setup, skipping new discovery
2024-11-01 17:23:49.482 DEBUG (MainThread) [custom_components.battery_notes.discovery] 823c299c35019e3ffb9518153613143e: Auto discovered device (manufacturer=Aqara, model=Temperature and humidity sensor (WSDCGQ11LM))
2024-11-01 17:23:49.483 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_823c299c35019e3ffb9518153613143e: Already setup, skipping new discovery
2024-11-01 17:23:49.483 DEBUG (MainThread) [custom_components.battery_notes.discovery] 177817d3ea451623307b623cde0ac307: Auto discovered device (manufacturer=Aqara, model=Door and window sensor (MCCGQ11LM))
2024-11-01 17:23:49.483 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_177817d3ea451623307b623cde0ac307: Already setup, skipping new discovery
2024-11-01 17:23:49.483 DEBUG (MainThread) [custom_components.battery_notes.discovery] 65f0ece5d422ede1fec428cb7aff158d: Auto discovered device (manufacturer=Aqara, model=Temperature and humidity sensor (WSDCGQ11LM))
2024-11-01 17:23:49.483 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_65f0ece5d422ede1fec428cb7aff158d: Already setup, skipping new discovery
2024-11-01 17:23:49.483 DEBUG (MainThread) [custom_components.battery_notes.discovery] 89ead3e668e2fe0d2b7e2ba6d871f466: Auto discovered device (manufacturer=Aqara, model=Vibration sensor (DJT11LM))
2024-11-01 17:23:49.484 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_89ead3e668e2fe0d2b7e2ba6d871f466: Already setup, skipping new discovery
2024-11-01 17:23:49.484 DEBUG (MainThread) [custom_components.battery_notes.discovery] 0ec3d3963c844459812449039804c75a: Auto discovered device (manufacturer=SONOFF, model=Zigbee two way smart switch (ZBMINI))
2024-11-01 17:23:49.484 DEBUG (MainThread) [custom_components.battery_notes.discovery] a27fc4320145342abd660ba96063506e: Auto discovered device (manufacturer=IKEA, model=TRADFRI control outlet (E1603/E1702/E1708))
2024-11-01 17:23:49.485 DEBUG (MainThread) [custom_components.battery_notes.discovery] 12a0cfc59476e2dc0d3d90070eabdbf8: Auto discovered device (manufacturer=HEIMAN, model=Smoke detector (HS1SA))
2024-11-01 17:23:49.485 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_12a0cfc59476e2dc0d3d90070eabdbf8: Already setup, skipping new discovery
2024-11-01 17:23:49.485 DEBUG (MainThread) [custom_components.battery_notes.discovery] ed416c1ffb411ce33b1757233a76fffb: Auto discovered device (manufacturer=Aqara, model=Motion sensor (RTCGQ11LM))
2024-11-01 17:23:49.485 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_ed416c1ffb411ce33b1757233a76fffb: Already setup, skipping new discovery
2024-11-01 17:23:49.485 DEBUG (MainThread) [custom_components.battery_notes.discovery] 025594288a6e539b19fe8256d65ee685: Auto discovered device (manufacturer=HEIMAN, model=Smart siren (HS2WD-E))
2024-11-01 17:23:49.486 DEBUG (MainThread) [custom_components.battery_notes.discovery] 93559b24723ca615cdf871c764a7885a: Auto discovered device (manufacturer=Tuya, model=Wireless switch with 3 buttons (TS0043))
2024-11-01 17:23:49.486 DEBUG (MainThread) [custom_components.battery_notes.discovery] 038b3c4ad367cf1b4a9a877431bed389: Auto discovered device (manufacturer=Aqara, model=Vibration sensor (DJT11LM))
2024-11-01 17:23:49.486 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_038b3c4ad367cf1b4a9a877431bed389: Already setup, skipping new discovery
2024-11-01 17:23:49.486 DEBUG (MainThread) [custom_components.battery_notes.discovery] 6b8c393097e3df9ea0c8e8c89a69a34f: Auto discovered device (manufacturer=Aqara, model=Door and window sensor (MCCGQ11LM))
2024-11-01 17:23:49.487 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_6b8c393097e3df9ea0c8e8c89a69a34f: Already setup, skipping new discovery
2024-11-01 17:23:49.487 DEBUG (MainThread) [custom_components.battery_notes.discovery] 29710692ec7792fc1322a64c402f3acd: Auto discovered device (manufacturer=Aqara, model=Door and window sensor (MCCGQ11LM))
2024-11-01 17:23:49.487 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_29710692ec7792fc1322a64c402f3acd: Already setup, skipping new discovery
2024-11-01 17:23:49.487 DEBUG (MainThread) [custom_components.battery_notes.discovery] 25a83219f0af63fa6a689d5bba122e5b: Auto discovered device (manufacturer=Aqara, model=Cube (MFKZQ01LM))
2024-11-01 17:23:49.487 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_25a83219f0af63fa6a689d5bba122e5b: Already setup, skipping new discovery
2024-11-01 17:23:49.487 DEBUG (MainThread) [custom_components.battery_notes.discovery] 58138f9a10937edea6e116c019ec8165: Auto discovered device (manufacturer=Aqara, model=Motion sensor (RTCGQ11LM))
2024-11-01 17:23:49.488 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_58138f9a10937edea6e116c019ec8165: Already setup, skipping new discovery
2024-11-01 17:23:49.488 DEBUG (MainThread) [custom_components.battery_notes.discovery] 0b858480f26d406e00322bb8af9043f6: Auto discovered device (manufacturer=IKEA, model=TRADFRI control outlet (E1603/E1702/E1708))
2024-11-01 17:23:49.488 DEBUG (MainThread) [custom_components.battery_notes.discovery] cf388db62674c04d1a340e1c8f61f414: Auto discovered device (manufacturer=Aqara, model=Motion sensor (RTCGQ11LM))
2024-11-01 17:23:49.488 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_cf388db62674c04d1a340e1c8f61f414: Already setup, skipping new discovery
2024-11-01 17:23:49.488 DEBUG (MainThread) [custom_components.battery_notes.discovery] 5420a5a827fcc27b965dd41f76863c86: Auto discovered device (manufacturer=Aqara, model=Motion sensor (RTCGQ11LM))
2024-11-01 17:23:49.489 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_5420a5a827fcc27b965dd41f76863c86: Already setup, skipping new discovery
2024-11-01 17:23:49.489 DEBUG (MainThread) [custom_components.battery_notes.discovery] 9bb394778a00327ebfeda3aab1a6a178: Auto discovered device (manufacturer=IKEA, model=TRADFRI control outlet (E1603/E1702/E1708))
2024-11-01 17:23:49.490 DEBUG (MainThread) [custom_components.battery_notes.discovery] 798cbd846ddb127b9e44e5a06ee0b9a3: Auto discovered device (manufacturer=SONOFF, model=Temperature and humidity sensor with screen (SNZB-02D))
2024-11-01 17:23:49.490 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_798cbd846ddb127b9e44e5a06ee0b9a3: Already setup, skipping new discovery
2024-11-01 17:23:49.490 DEBUG (MainThread) [custom_components.battery_notes.discovery] 312437dfbd3a378ba41cdd4c09f758b3: Auto discovered device (manufacturer=SONOFF, model=Temperature and humidity sensor with screen (SNZB-02D))
2024-11-01 17:23:49.491 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_312437dfbd3a378ba41cdd4c09f758b3: Already setup, skipping new discovery
2024-11-01 17:23:49.491 DEBUG (MainThread) [custom_components.battery_notes.discovery] dd02d99385d73257345de0e7b1f44353: Auto discovered device (manufacturer=IKEA, model=TRADFRI control outlet (E1603/E1702/E1708))
2024-11-01 17:23:49.491 DEBUG (MainThread) [custom_components.battery_notes.discovery] 3e7a171738cdf598b4eaf6027999b548: Auto discovered device (manufacturer=HEIMAN, model=Smoke detector (HS1SA))
2024-11-01 17:23:49.491 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_3e7a171738cdf598b4eaf6027999b548: Already setup, skipping new discovery
2024-11-01 17:23:49.491 DEBUG (MainThread) [custom_components.battery_notes.discovery] 863667de4f27dd905a1d23dd1dcfd2c6: Auto discovered device (manufacturer=Aqara, model=Temperature and humidity sensor (WSDCGQ11LM))
2024-11-01 17:23:49.492 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_863667de4f27dd905a1d23dd1dcfd2c6: Already setup, skipping new discovery
2024-11-01 17:23:49.492 DEBUG (MainThread) [custom_components.battery_notes.discovery] 752a384735c0082d9f8113dfee6ee964: Auto discovered device (manufacturer=Aqara, model=Motion sensor (RTCGQ11LM))
2024-11-01 17:23:49.492 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_752a384735c0082d9f8113dfee6ee964: Already setup, skipping new discovery
2024-11-01 17:23:49.492 DEBUG (MainThread) [custom_components.battery_notes.discovery] 7250f534749e22a54dbdcbe5a328e1a1: Auto discovered device (manufacturer=Aqara, model=Motion sensor (RTCGQ11LM))
2024-11-01 17:23:49.493 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_7250f534749e22a54dbdcbe5a328e1a1: Already setup, skipping new discovery
2024-11-01 17:23:49.493 DEBUG (MainThread) [custom_components.battery_notes.discovery] 80840b8c04c9b22e620c8ce2c81c84e1: Auto discovered device (manufacturer=Aqara, model=Motion sensor (RTCGQ11LM))
2024-11-01 17:23:49.493 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_80840b8c04c9b22e620c8ce2c81c84e1: Already setup, skipping new discovery
2024-11-01 17:23:49.493 DEBUG (MainThread) [custom_components.battery_notes.discovery] c514ef2d2aab107d04bfbfde86afd402: Auto discovered device (manufacturer=Aqara, model=Motion sensor (RTCGQ11LM))
2024-11-01 17:23:49.493 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_c514ef2d2aab107d04bfbfde86afd402: Already setup, skipping new discovery
2024-11-01 17:23:49.493 DEBUG (MainThread) [custom_components.battery_notes.discovery] 34468806f8c4458e4bc767a227d61a87: Auto discovered device (manufacturer=Aqara, model=Door and window sensor (MCCGQ11LM))
2024-11-01 17:23:49.494 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_34468806f8c4458e4bc767a227d61a87: Already setup, skipping new discovery
2024-11-01 17:23:49.494 DEBUG (MainThread) [custom_components.battery_notes.discovery] 8a04993e725374fee22e55e863b3556c: Auto discovered device (manufacturer=Aqara, model=Door and window sensor (MCCGQ11LM))
2024-11-01 17:23:49.494 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_8a04993e725374fee22e55e863b3556c: Already setup, skipping new discovery
2024-11-01 17:23:49.494 DEBUG (MainThread) [custom_components.battery_notes.discovery] 589361436d3d8bdb51d7218ce12dafeb: Auto discovered device (manufacturer=Aqara, model=Door and window sensor (MCCGQ11LM))
2024-11-01 17:23:49.494 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_589361436d3d8bdb51d7218ce12dafeb: Already setup, skipping new discovery
2024-11-01 17:23:49.494 DEBUG (MainThread) [custom_components.battery_notes.discovery] 3118591bd08336620e5bf65d2339768d: Auto discovered device (manufacturer=Aqara, model=Door and window sensor (MCCGQ11LM))
2024-11-01 17:23:49.495 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_3118591bd08336620e5bf65d2339768d: Already setup, skipping new discovery
2024-11-01 17:23:49.495 DEBUG (MainThread) [custom_components.battery_notes.discovery] a0a5152899bc23420352e295a799bc41: Auto discovered device (manufacturer=Aqara, model=Door and window sensor (MCCGQ11LM))
2024-11-01 17:23:49.495 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_a0a5152899bc23420352e295a799bc41: Already setup, skipping new discovery
2024-11-01 17:23:49.495 DEBUG (MainThread) [custom_components.battery_notes.discovery] 8ee83ed7edd4705708db000cc112d71c: Auto discovered device (manufacturer=OSRAM, model=Smart+ switch mini (AC0251100NJ/AC0251600NJ/AC0251700NJ))
2024-11-01 17:23:49.496 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_8ee83ed7edd4705708db000cc112d71c: Already setup, skipping new discovery
2024-11-01 17:23:49.496 DEBUG (MainThread) [custom_components.battery_notes.discovery] 84b619700703757cf5bf3796c3418497: Auto discovered device (manufacturer=OSRAM, model=Smart+ switch mini (AC0251100NJ/AC0251600NJ/AC0251700NJ))
2024-11-01 17:23:49.496 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_84b619700703757cf5bf3796c3418497: Already setup, skipping new discovery
2024-11-01 17:23:49.496 DEBUG (MainThread) [custom_components.battery_notes.discovery] 100aecf2288530a417ef85ad1c4810b2: Auto discovered device (manufacturer=OSRAM, model=Smart+ switch mini (AC0251100NJ/AC0251600NJ/AC0251700NJ))
2024-11-01 17:23:49.496 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_100aecf2288530a417ef85ad1c4810b2: Already setup, skipping new discovery
2024-11-01 17:23:49.496 DEBUG (MainThread) [custom_components.battery_notes.discovery] 682c2224bf7ed754e7ffe38acbc255a0: Auto discovered device (manufacturer=OSRAM, model=Smart+ switch mini (AC0251100NJ/AC0251600NJ/AC0251700NJ))
2024-11-01 17:23:49.497 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_682c2224bf7ed754e7ffe38acbc255a0: Already setup, skipping new discovery
2024-11-01 17:23:49.497 DEBUG (MainThread) [custom_components.battery_notes.discovery] 7809979ea1e96c55b33d53c21730e061: Auto discovered device (manufacturer=Legrand, model=Cable outlet with pilot wire and consumption measurement (064882))
2024-11-01 17:23:49.497 DEBUG (MainThread) [custom_components.battery_notes.discovery] 747f8ab3a6cbb06541107839b6da9b29: Auto discovered device (manufacturer=Moes, model=Universal smart IR remote control (UFO-R11))
2024-11-01 17:23:49.497 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_747f8ab3a6cbb06541107839b6da9b29: Already setup, skipping new discovery
2024-11-01 17:23:49.497 DEBUG (MainThread) [custom_components.battery_notes.discovery] a7e893bce9ced58915ed0d8d612aca09: Auto discovered device (manufacturer=LiXee, model=Lixee ZiPulses (ZiPulses))
2024-11-01 17:23:49.498 DEBUG (MainThread) [custom_components.battery_notes.discovery] aa1b2877038fd17433467e9496601a89: Auto discovered device (manufacturer=Neo, model=Outdoor solar alarm (NAS-AB06B2))
2024-11-01 17:23:49.498 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_aa1b2877038fd17433467e9496601a89: Already setup, skipping new discovery
2024-11-01 17:23:49.498 DEBUG (MainThread) [custom_components.battery_notes.discovery] 0229f1caa0ee3dd93052bb34d6ef2763: Auto discovered device (manufacturer=OWON, model=Temperature sensor (THS317-ET))
2024-11-01 17:23:49.498 DEBUG (MainThread) [custom_components.battery_notes.discovery] 911f4e96e6dc1904a7799d1ba9e9a011: Auto discovered device (manufacturer=SONOFF, model=Temperature and humidity sensor (SNZB-02))
2024-11-01 17:23:49.499 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_911f4e96e6dc1904a7799d1ba9e9a011: Already setup, skipping new discovery
2024-11-01 17:23:49.499 DEBUG (MainThread) [custom_components.battery_notes.discovery] a37d98fd40a0729f97c4a25fbdadc84d: Auto discovered device (manufacturer=SONOFF, model=Temperature and humidity sensor with screen (SNZB-02D))
2024-11-01 17:23:49.499 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_a37d98fd40a0729f97c4a25fbdadc84d: Already setup, skipping new discovery
2024-11-01 17:23:49.499 DEBUG (MainThread) [custom_components.battery_notes.discovery] 44d38a27075830c5e4e0157927120355: Auto discovered device (manufacturer=SONOFF, model=Temperature and humidity sensor (SNZB-02))
2024-11-01 17:23:49.499 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_44d38a27075830c5e4e0157927120355: Already setup, skipping new discovery
2024-11-01 17:23:49.499 DEBUG (MainThread) [custom_components.battery_notes.discovery] a675aa5808a990eca8315e1f288a9303: Auto discovered device (manufacturer=SONOFF, model=Temperature and humidity sensor (SNZB-02))
2024-11-01 17:23:49.500 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_a675aa5808a990eca8315e1f288a9303: Already setup, skipping new discovery
2024-11-01 17:23:49.500 DEBUG (MainThread) [custom_components.battery_notes.discovery] c0e3b7dea70525479fe1e15d76a24ab6: Auto discovered device (manufacturer=Tuya, model=Motion sensor (ZP01))
2024-11-01 17:23:49.500 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_c0e3b7dea70525479fe1e15d76a24ab6: Already setup, skipping new discovery
2024-11-01 17:23:49.500 DEBUG (MainThread) [custom_components.battery_notes.discovery] 631b22b798267b35c0fd502ba6c4ee8d: Auto discovered device (manufacturer=SONOFF, model=Wireless button (SNZB-01P))
2024-11-01 17:23:49.501 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_631b22b798267b35c0fd502ba6c4ee8d: Already setup, skipping new discovery
2024-11-01 17:23:49.501 DEBUG (MainThread) [custom_components.battery_notes.discovery] ebce41d3c380c8014523bde45a02d4ac: Auto discovered device (manufacturer=IKEA, model=ORMANAS LED strip (L2112))
2024-11-01 17:23:49.501 DEBUG (MainThread) [custom_components.battery_notes.discovery] 5c73dd20f48a9a15165bffe4e4b95709: Auto discovered device (manufacturer=IKEA, model=TRETAKT smart plug (E2204))
2024-11-01 17:23:49.501 DEBUG (MainThread) [custom_components.battery_notes.discovery] 9d731416f64d75b20996aa31651d0d7b: Auto discovered device (manufacturer=Acova, model=Taffetas 2 / Percale 2 heater (TAFFETAS2/PERCALE2))
2024-11-01 17:23:49.502 DEBUG (MainThread) [custom_components.battery_notes.discovery] 256f65600d5c6ed58a8d14110e349f1d: Auto discovered device (manufacturer=Acova, model=Taffetas 2 / Percale 2 heater (TAFFETAS2/PERCALE2))
2024-11-01 17:23:49.502 DEBUG (MainThread) [custom_components.battery_notes.discovery] 77c33340fea174d4b33b56eb99366577: Auto discovered device (manufacturer=Acova, model=Taffetas 2 / Percale 2 heater (TAFFETAS2/PERCALE2))
2024-11-01 17:23:49.502 DEBUG (MainThread) [custom_components.battery_notes.discovery] c3d4866ce7cb06f03930c8799a837824: Auto discovered device (manufacturer=IKEA, model=TRADFRI bulb E26/E27, color/white spectrum, globe, opal, 806 lm (LED2109G6))
2024-11-01 17:23:49.503 DEBUG (MainThread) [custom_components.battery_notes.discovery] 8bfa1849f464371cc17caef76fb346d3: Auto discovered device (manufacturer=Aqara, model=Temperature and humidity sensor (WSDCGQ11LM))
2024-11-01 17:23:49.503 DEBUG (MainThread) [custom_components.battery_notes.discovery] bn_8bfa1849f464371cc17caef76fb346d3: Already setup, skipping new discovery
2024-11-01 17:23:49.503 DEBUG (MainThread) [custom_components.battery_notes.discovery] c7c923a6aa385dc09b319014ff8037c2: Auto discovered device (manufacturer=Zigbee2MQTT, model=Group)
2024-11-01 17:23:49.503 DEBUG (MainThread) [custom_components.battery_notes.discovery] 501ced1c6bfdc7ce335901087d8d8622: Auto discovered device (manufacturer=Freebox, model=Freebox Player POP)
2024-11-01 17:23:49.504 DEBUG (MainThread) [custom_components.battery_notes.discovery] 9627c8e1b0c44f2d93d795e2fe52649e: Auto discovered device (manufacturer=thomasloven, model=plugin)
2024-11-01 17:23:49.504 DEBUG (MainThread) [custom_components.battery_notes.discovery] a5836105d1e1819b6e433c67ca8e3161: Auto discovered device (manufacturer=Freebox, model=Freebox Player POP)
2024-11-01 17:23:49.504 DEBUG (MainThread) [custom_components.battery_notes.discovery] 6daae3f9bccdf51e8980af9d28c54eda: Auto discovered device (manufacturer=ofekashery, model=plugin)
2024-11-01 17:23:49.505 DEBUG (MainThread) [custom_components.battery_notes.discovery] 8cffa357e0855a3f99587e4b61b55b5d: Cannot autodiscover device, manufacturer or model unknown from device registry
2024-11-01 17:23:49.505 DEBUG (MainThread) [custom_components.battery_notes.discovery] 05f998a96e9209887e55a56df34bd01b: Auto discovered device (manufacturer=python-holidays, model=0.58)
2024-11-01 17:23:49.505 DEBUG (MainThread) [custom_components.battery_notes.discovery] bd5566c3d391741730074c5feb3d1585: Cannot autodiscover device, manufacturer or model unknown from device registry
2024-11-01 17:23:49.505 DEBUG (MainThread) [custom_components.battery_notes.discovery] 52c06be2a2f9c9b4928aa2c3bcbaff70: Auto discovered device (manufacturer=LC, model=IPC-A22E-D)
2024-11-01 17:23:49.507 DEBUG (MainThread) [custom_components.battery_notes.discovery] a58d17d33542f3f0bba113d1473c674b: Auto discovered device (manufacturer=andrew-codechimp, model=integration)
2024-11-01 17:23:49.507 DEBUG (MainThread) [custom_components.battery_notes.discovery] 0374df7177a477ec6b41cb5f683fff49: Auto discovered device (manufacturer=maxwroc, model=plugin)
2024-11-01 17:23:49.507 DEBUG (MainThread) [custom_components.battery_notes.discovery] cc0bbee1e84049752f6b4b108451a8fb: Auto discovered device (manufacturer=nielsfaber, model=integration)
2024-11-01 17:23:49.508 DEBUG (MainThread) [custom_components.battery_notes.discovery] 81268967c1e145e80ca7d7afe94a0315: Auto discovered device (manufacturer=nielsfaber, model=plugin)
2024-11-01 17:23:49.508 DEBUG (MainThread) [custom_components.battery_notes.discovery] ba719b6805d458e23c62e07a34c25917: Auto discovered device (manufacturer=ksheumaker, model=integration)
2024-11-01 17:23:49.508 DEBUG (MainThread) [custom_components.battery_notes.discovery] 45766bb47eb285398c200ded3d86dd85: Auto discovered device (manufacturer=APSystems, model=ECU-C-Z_C1.2.16)
2024-11-01 17:23:49.509 DEBUG (MainThread) [custom_components.battery_notes.discovery] 35f4edf1ceb95c69475f54d07fd644b5: Auto discovered device (manufacturer=APSystems, model=YC600/DS3 series)
2024-11-01 17:23:49.509 DEBUG (MainThread) [custom_components.battery_notes.discovery] 40e6a48b7cc7f66951463c42d1e69833: Auto discovered device (manufacturer=APSystems, model=YC600/DS3 series)
2024-11-01 17:23:49.509 DEBUG (MainThread) [custom_components.battery_notes.discovery] a834da7aa01a47750d39dbced2c4704c: Auto discovered device (manufacturer=APSystems, model=YC600/DS3 series)
2024-11-01 17:23:49.509 DEBUG (MainThread) [custom_components.battery_notes.discovery] 23c3361f5182a73e82ebdcb2d30863f8: Auto discovered device (manufacturer=RomRider, model=plugin)
2024-11-01 17:23:49.510 DEBUG (MainThread) [custom_components.battery_notes.discovery] bf2577b60eb23bc40c6b89934d50f78b: Auto discovered device (manufacturer=Forecast.Solar, model=public)
2024-11-01 17:23:49.510 DEBUG (MainThread) [custom_components.battery_notes.discovery] ff7f99fd81fb3701dd70121447b33f42: Auto discovered device (manufacturer=@nielsfaber, model=Alarmo)
2024-11-01 17:23:49.510 DEBUG (MainThread) [custom_components.battery_notes.discovery] 0acb371de591125f50f3dc5420e680cb: Cannot autodiscover device, manufacturer or model unknown from device registry
2024-11-01 17:23:49.510 DEBUG (MainThread) [custom_components.battery_notes.discovery] ed9ead04e8d5e1d962e35d0d1cc27ff1: Auto discovered device (manufacturer=Xiaomi, model=roborock.vacuum.m1s)
2024-11-01 17:23:49.511 DEBUG (MainThread) [custom_components.battery_notes.discovery] f6f949d6539fb3c028ddbde2776672a2: Cannot autodiscover device, manufacturer or model unknown from device registry
2024-11-01 17:23:49.511 DEBUG (MainThread) [custom_components.battery_notes.discovery] dfce81051594dfa6e1fe3bed4dc13f90: Auto discovered device (manufacturer=nielsfaber, model=integration)
2024-11-01 17:23:49.511 DEBUG (MainThread) [custom_components.battery_notes.discovery] 0e284ada85913c6ffa506e7cb13df701: Auto discovered device (manufacturer=nielsfaber, model=plugin)
2024-11-01 17:23:49.511 DEBUG (MainThread) [custom_components.battery_notes.discovery] d54b4a6ecf1152c7b60fb67b1a7f747d: Auto discovered device (manufacturer=@nielsfaber, model=Scheduler)
2024-11-01 17:23:49.512 DEBUG (MainThread) [custom_components.battery_notes.discovery] Done auto discovering devices
2024-11-01 17:23:49.512 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=battery_notes, service=set_battery_replaced>
2024-11-01 17:23:49.512 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=battery_notes, service=check_battery_last_reported>
2024-11-01 17:23:49.512 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=battery_notes, service=check_battery_low>
2024-11-01 17:23:49.512 INFO (MainThread) [homeassistant.setup] Setup of domain battery_notes took 0.18 seconds
2024-11-01 17:23:49.512 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.motion_sensor_boite_lettres_battery low threshold set at 10
2024-11-01 17:23:49.513 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.open_sensor_window_toilettes_haut_battery low threshold set at 10
2024-11-01 17:23:49.513 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.thermo_hygro_toilettes_haut_battery low threshold set at 10
2024-11-01 17:23:49.513 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.thermo_hygro_toilettes_bas_battery low threshold set at 10
2024-11-01 17:23:49.514 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.remote_chambre_parentale_guillaume_volet_battery low threshold set at 10
2024-11-01 17:23:49.514 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.remote_chambre_robin_volet_battery low threshold set at 10
2024-11-01 17:23:49.514 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.remote_chambre_lilian_volet_battery low threshold set at 10
2024-11-01 17:23:49.514 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.remote_chambre_parentale_emma_volet_battery low threshold set at 10
2024-11-01 17:23:49.514 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.thermo_hygro_salon_battery low threshold set at 10
2024-11-01 17:23:49.515 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.open_sensor_window_salle_de_bain_battery low threshold set at 10
2024-11-01 17:23:49.515 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.thermo_hygro_salle_de_bain_battery low threshold set at 10
2024-11-01 17:23:49.515 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.smoke_detector_rdc_battery low threshold set at 10
2024-11-01 17:23:49.515 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.thermo_hygro_nord_battery low threshold set at 10
2024-11-01 17:23:49.515 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.water_leak_detector_buanderie_machine_a_laver_battery low threshold set at 10
2024-11-01 17:23:49.515 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.water_leak_detector_cuisine_lave_vaisselle_battery low threshold set at 10
2024-11-01 17:23:49.516 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.motion_sensor_degagement_battery low threshold set at 10
2024-11-01 17:23:49.516 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.infrared_salon_battery low threshold set at 10
2024-11-01 17:23:49.516 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.button_degagement_imprimante3d_battery low threshold set at 10
2024-11-01 17:23:49.516 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.thermo_hygro_garage_battery low threshold set at 10
2024-11-01 17:23:49.516 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.thermo_hygro_cuisine_frigo_battery low threshold set at 10
2024-11-01 17:23:49.517 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.motion_sensor_chambre_robin_battery low threshold set at 10
2024-11-01 17:23:49.517 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.open_sensor_window_chambre_robin_battery low threshold set at 10
2024-11-01 17:23:49.517 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.open_sensor_window_cuisine_battery low threshold set at 10
2024-11-01 17:23:49.517 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.thermo_hygro_cuisine_battery low threshold set at 10
2024-11-01 17:23:49.517 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.thermo_hygro_degagement_battery low threshold set at 10
2024-11-01 17:23:49.518 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.motion_sensor_chambre_lilian_battery low threshold set at 10
2024-11-01 17:23:49.518 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.open_sensor_window_chambre_lilian_battery low threshold set at 10
2024-11-01 17:23:49.518 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.motion_sensor_chambre_parentale_battery low threshold set at 10
2024-11-01 17:23:49.518 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.open_sensor_window_chambre_parentale_battery low threshold set at 10
2024-11-01 17:23:49.518 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.thermo_hygro_chambre_parentale_battery low threshold set at 10
2024-11-01 17:23:49.518 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.smoke_detector_1er_battery low threshold set at 10
2024-11-01 17:23:49.518 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.thermo_hygro_buanderie_battery low threshold set at 10
2024-11-01 17:23:49.519 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.thermo_hygro_degagement_caisson_battery low threshold set at 10
2024-11-01 17:23:49.519 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.open_sensor_door_frigo_battery low threshold set at 10
2024-11-01 17:23:49.519 DEBUG (MainThread) [homeassistant.setup] Phase config_entry_setup for battery_notes (01JBCDB549G30X7BV2W00R0XCV) took 0.00s (elapsed=0.00s) (wait_time=0.00s)
2024-11-01 17:23:49.519 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Sirène extérieure for battery_notes
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 594, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/battery_notes/__init__.py", line 171, in async_setup_entry
    if not await device.async_setup():
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/battery_notes/device.py", line 202, in async_setup
    if entity.created_at.year > 1970:
       ^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'created_at'
2024-11-01 17:23:49.524 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.keypad_salon_battery low threshold set at 10
2024-11-01 17:23:49.525 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.motion_sensor_salon_entree_battery low threshold set at 10
2024-11-01 17:23:49.525 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.open_sensor_door_garage_battery low threshold set at 10
2024-11-01 17:23:49.525 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.motion_sensor_garage_battery low threshold set at 10
2024-11-01 17:23:49.526 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.open_sensor_door_garage_basculante_battery low threshold set at 10
2024-11-01 17:23:49.526 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.open_sensor_door_maison_battery low threshold set at 10
2024-11-01 17:23:49.526 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.vibration_sensor_salle_a_manger_battery low threshold set at 10
2024-11-01 17:23:49.526 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.open_sensor_window_salle_a_manger_battery low threshold set at 10
2024-11-01 17:23:49.527 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.motion_sensor_salle_a_manger_battery low threshold set at 10
2024-11-01 17:23:49.527 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.vibration_sensor_salon_battery low threshold set at 10
2024-11-01 17:23:49.527 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.open_sensor_window_salon_battery low threshold set at 10
2024-11-01 17:23:49.527 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.thermo_hygro_vide_sanitaire_battery low threshold set at 10
2024-11-01 17:23:49.528 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.open_sensor_window_toilettes_bas_battery low threshold set at 10
2024-11-01 17:23:49.528 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.motion_sensor_salon_battery low threshold set at 10
2024-11-01 17:23:49.528 DEBUG (MainThread) [custom_components.battery_notes.device] sensor.cube_salon_battery low threshold set at 10

Diagnostics dump

mqtt-01JABC7KCVTRFVKB5TWZR050SG-0xa4c13886bfad0664-aa1b2877038fd17433467e9496601a89.json

andrew-codechimp commented 4 weeks ago

Thanks for reporting this, it's now fixed in version 2.5.4 just released.