From ab277bf13cf211aabfd1f5a1e60405f189dad02a Mon Sep 17 00:00:00 2001 From: Striker72rus Date: Mon, 23 Mar 2026 16:06:13 +0300 Subject: [PATCH] - --- config/config.json | 38 ++- storage/battery_cache.json | 648 +++++++++++++++++++------------------ storage/popup_state.json | 4 +- 3 files changed, 365 insertions(+), 325 deletions(-) diff --git a/config/config.json b/config/config.json index 4934332..2ecaa6a 100755 --- a/config/config.json +++ b/config/config.json @@ -5,6 +5,7 @@ "main_room_name": "Главная", "main_room_icon": "mdi:home", "edit_mode": false, + "battery_history_hours": 4320, "main_boiler": { "title": "Бойлер", "sensor_entity_id": "sensor.modeco_2_temperature", @@ -83,7 +84,9 @@ "poster_url": "http://10.0.6.110:1984/api/frame.jpeg?src=doorbell_main", "popup_timeout_minutes": 3, "trigger_entities": [ - "binary_sensor.doorbell_person_occupancy" + "binary_sensor.doorbell_person_occupancy", + "binary_sensor.barn_all_occupancy", + "binary_sensor.doorbell_all_occupancy" ] }, "rooms": [ @@ -1300,6 +1303,39 @@ }, "select.uvlazhnitel_led_brightness": { "visible": false + }, + "number.aqara_dimmer_switch_vremia_perekhoda_mezhdu_vkliucheniem_i_vykliucheniem": { + "visible": false + }, + "button.aqara_dimmer_switch_identifikatsiia_1": { + "visible": false + }, + "button.aqara_dimmer_switch_identifikatsiia_2": { + "visible": false + }, + "event.aqara_dimmer_switch_knopka": { + "visible": false + }, + "sensor.aqara_dimmer_switch_moshchnost_2": { + "visible": false + }, + "number.aqara_dimmer_switch_na_urovne": { + "visible": false + }, + "update.aqara_dimmer_switch_obnovlenie_proshivki": { + "visible": false + }, + "select.aqara_dimmer_switch_povedenie_pri_zapuske": { + "visible": false + }, + "sensor.aqara_dimmer_switch_tekushchee_polozhenie_perekliuchatelia": { + "visible": false + }, + "sensor.aqara_dimmer_switch_energiia": { + "visible": false + }, + "sensor.aqara_dimmer_switch_active_current": { + "visible": false } }, "temperature_sensor_entity_id": "sensor.spalnya_temp_temperature", diff --git a/storage/battery_cache.json b/storage/battery_cache.json index 8fe16a8..0458b7f 100755 --- a/storage/battery_cache.json +++ b/storage/battery_cache.json @@ -1,239 +1,239 @@ { "items": { "sensor.garage_motion_battery": { - "loaded_at": 1774008710, + "loaded_at": 1774264856, "history_hours": 4320, "points": [ { - "timestamp": 1773403910, + "timestamp": 1773660056, "value": 100 }, { - "timestamp": 1773411344, + "timestamp": 1773668185, "value": 100 }, { - "timestamp": 1773414678, + "timestamp": 1773668401, "value": 100 }, { - "timestamp": 1773417954, + "timestamp": 1773669214, "value": 100 } ], "forecast_minutes_left": null, "forecast_text": null, - "forecast_slope_per_hour": -0, + "forecast_slope_per_hour": 0, "forecast_reason": "Нет заметного разряда", "percent": 100 }, "sensor.garage_light_battery": { - "loaded_at": 1774008710, + "loaded_at": 1774264856, "history_hours": 4320, "points": [ { - "timestamp": 1773403910, + "timestamp": 1773660056, "value": 100 }, { - "timestamp": 1773411344, + "timestamp": 1773668185, "value": 100 }, { - "timestamp": 1773414678, + "timestamp": 1773668401, "value": 100 }, { - "timestamp": 1773417954, + "timestamp": 1773669214, "value": 100 } ], "forecast_minutes_left": null, "forecast_text": null, - "forecast_slope_per_hour": -0, + "forecast_slope_per_hour": 0, "forecast_reason": "Нет заметного разряда", "percent": 100 }, "sensor.garage_door_motion_battery": { - "loaded_at": 1774008710, + "loaded_at": 1774264856, "history_hours": 4320, "points": [ { - "timestamp": 1773403910, + "timestamp": 1773660056, "value": 100 }, { - "timestamp": 1773411344, + "timestamp": 1773668185, "value": 100 }, { - "timestamp": 1773414678, + "timestamp": 1773668401, "value": 100 }, { - "timestamp": 1773417954, + "timestamp": 1773669214, "value": 100 } ], "forecast_minutes_left": null, "forecast_text": null, - "forecast_slope_per_hour": -0, + "forecast_slope_per_hour": 0, "forecast_reason": "Нет заметного разряда", "percent": 100 }, "sensor.stair_up_motion_battery": { - "loaded_at": 1774008710, + "loaded_at": 1774264856, "history_hours": 4320, "points": [ { - "timestamp": 1773403910, + "timestamp": 1773660056, "value": 100 }, { - "timestamp": 1773411344, + "timestamp": 1773668185, "value": 100 }, { - "timestamp": 1773414678, + "timestamp": 1773668367, "value": 100 }, { - "timestamp": 1773417954, + "timestamp": 1773669214, "value": 100 } ], "forecast_minutes_left": null, "forecast_text": null, - "forecast_slope_per_hour": -0, + "forecast_slope_per_hour": 0, "forecast_reason": "Нет заметного разряда", "percent": 100 }, "sensor.stair_down_motion_battery": { - "loaded_at": 1774008710, + "loaded_at": 1774264856, "history_hours": 4320, "points": [ { - "timestamp": 1773403910, + "timestamp": 1773660056, "value": 100 }, { - "timestamp": 1773411344, + "timestamp": 1773668185, "value": 100 }, { - "timestamp": 1773414678, + "timestamp": 1773668401, "value": 100 }, { - "timestamp": 1773417954, + "timestamp": 1773669214, "value": 100 } ], "forecast_minutes_left": null, "forecast_text": null, - "forecast_slope_per_hour": -0, + "forecast_slope_per_hour": 0, "forecast_reason": "Нет заметного разряда", "percent": 100 }, "sensor.stair_light_battery": { - "loaded_at": 1774008710, + "loaded_at": 1774264856, "history_hours": 4320, "points": [ { - "timestamp": 1773403910, + "timestamp": 1773660056, "value": 100 }, { - "timestamp": 1773411344, + "timestamp": 1773668185, "value": 100 }, { - "timestamp": 1773414678, + "timestamp": 1773668401, "value": 100 }, { - "timestamp": 1773417954, + "timestamp": 1773669214, "value": 100 } ], "forecast_minutes_left": null, "forecast_text": null, - "forecast_slope_per_hour": -0, + "forecast_slope_per_hour": 0, "forecast_reason": "Нет заметного разряда", "percent": 100 }, "sensor.door_sensor_2_battery": { - "loaded_at": 1774008710, + "loaded_at": 1774264856, "history_hours": 4320, "points": [ { - "timestamp": 1773403910, + "timestamp": 1773660056, "value": 90 }, { - "timestamp": 1773411344, + "timestamp": 1773668166, "value": 90 }, { - "timestamp": 1773414678, + "timestamp": 1773668401, "value": 90 }, { - "timestamp": 1773417954, + "timestamp": 1773669214, "value": 90 } ], "forecast_minutes_left": null, "forecast_text": null, - "forecast_slope_per_hour": -0, + "forecast_slope_per_hour": 0, "forecast_reason": "Нет заметного разряда", "percent": 90 }, "sensor.wleak_battery": { - "loaded_at": 1774008710, + "loaded_at": 1774264856, "history_hours": 4320, "points": [ { - "timestamp": 1773403910, + "timestamp": 1773660056, "value": 100 }, { - "timestamp": 1773411344, + "timestamp": 1773668185, "value": 100 }, { - "timestamp": 1773414678, + "timestamp": 1773668401, "value": 100 }, { - "timestamp": 1773417954, + "timestamp": 1773669214, "value": 100 } ], "forecast_minutes_left": null, "forecast_text": null, - "forecast_slope_per_hour": -0, + "forecast_slope_per_hour": 0, "forecast_reason": "Нет заметного разряда", "percent": 100 }, "sensor.0xa4c138433d675809_battery": { - "loaded_at": 1774008710, + "loaded_at": 1774264856, "history_hours": 4320, "points": [ { - "timestamp": 1773403910, + "timestamp": 1773660056, "value": 1 }, { - "timestamp": 1773411344, + "timestamp": 1773668185, "value": 1 }, { - "timestamp": 1773414678, + "timestamp": 1773668401, "value": 1 }, { - "timestamp": 1773417954, + "timestamp": 1773669214, "value": 1 } ], @@ -244,50 +244,50 @@ "percent": 1 }, "sensor.0xa4c138997cb4fdd1_battery": { - "loaded_at": 1774008710, + "loaded_at": 1774264856, "history_hours": 4320, "points": [ { - "timestamp": 1773403910, + "timestamp": 1773660056, "value": 100 }, { - "timestamp": 1773411344, + "timestamp": 1773668158, "value": 100 }, { - "timestamp": 1773414678, + "timestamp": 1773668379, "value": 100 }, { - "timestamp": 1773417954, + "timestamp": 1773669193, "value": 100 } ], "forecast_minutes_left": null, "forecast_text": null, - "forecast_slope_per_hour": -0, + "forecast_slope_per_hour": 0, "forecast_reason": "Нет заметного разряда", "percent": 100 }, "sensor.printer_knopka_battery": { - "loaded_at": 1774008710, + "loaded_at": 1774264856, "history_hours": 4320, "points": [ { - "timestamp": 1773403910, + "timestamp": 1773660056, "value": 74 }, { - "timestamp": 1773411344, + "timestamp": 1773668185, "value": 74 }, { - "timestamp": 1773414678, + "timestamp": 1773668401, "value": 74 }, { - "timestamp": 1773417954, + "timestamp": 1773669214, "value": 74 } ], @@ -298,50 +298,50 @@ "percent": 74 }, "sensor.lestnitsa_dvizhenie_2_etazh_battery": { - "loaded_at": 1774008710, + "loaded_at": 1774264856, "history_hours": 4320, "points": [ { - "timestamp": 1773403910, + "timestamp": 1773660056, "value": 100 }, { - "timestamp": 1773411344, + "timestamp": 1773668185, "value": 100 }, { - "timestamp": 1773414678, + "timestamp": 1773668401, "value": 100 }, { - "timestamp": 1773417954, + "timestamp": 1773669214, "value": 100 } ], "forecast_minutes_left": null, "forecast_text": null, - "forecast_slope_per_hour": -0, + "forecast_slope_per_hour": 0, "forecast_reason": "Нет заметного разряда", "percent": 100 }, "sensor.spalnia_knopka_girliand_battery": { - "loaded_at": 1774008710, + "loaded_at": 1774264856, "history_hours": 4320, "points": [ { - "timestamp": 1773403910, + "timestamp": 1773660056, "value": 29 }, { - "timestamp": 1773411344, + "timestamp": 1773668185, "value": 29 }, { - "timestamp": 1773414678, + "timestamp": 1773668401, "value": 29 }, { - "timestamp": 1773417954, + "timestamp": 1773669214, "value": 29 } ], @@ -352,272 +352,276 @@ "percent": 29 }, "sensor.ulitsa_temperatura_battery": { - "loaded_at": 1774008710, + "loaded_at": 1774264856, "history_hours": 4320, "points": [ { - "timestamp": 1773403910, + "timestamp": 1773660056, "value": 63 }, { - "timestamp": 1773411344, + "timestamp": 1773668185, "value": 63 }, { - "timestamp": 1773414678, + "timestamp": 1773668401, "value": 63 }, { - "timestamp": 1773417954, + "timestamp": 1773669214, "value": 63 } ], "forecast_minutes_left": null, "forecast_text": null, - "forecast_slope_per_hour": -0, + "forecast_slope_per_hour": 0, "forecast_reason": "Нет заметного разряда", - "percent": 63 + "percent": 62 }, "sensor.0x44e2f8fffeb65d8e_battery": { - "loaded_at": 1774008698, + "loaded_at": 1774264856, "history_hours": 4320, "points": [ { - "timestamp": 1773403899, - "value": 70 + "timestamp": 1773660056, + "value": 55 }, { - "timestamp": 1773411344, - "value": 70 - }, - { - "timestamp": 1773414678, - "value": 70 - }, - { - "timestamp": 1773417954, - "value": 70 - }, - { - "timestamp": 1773418742, - "value": 65 - }, - { - "timestamp": 1773466239, - "value": 70 - }, - { - "timestamp": 1773466259, + "timestamp": 1773664955, "value": 60 }, { - "timestamp": 1773488508, - "value": 65 + "timestamp": 1773664975, + "value": 50 }, { - "timestamp": 1773488530, + "timestamp": 1773668185, "value": 50 + }, + { + "timestamp": 1773668401, + "value": 50 + }, + { + "timestamp": 1773669214, + "value": 50 + }, + { + "timestamp": 1773680612, + "value": 60 + }, + { + "timestamp": 1773680632, + "value": 55 + }, + { + "timestamp": 1773726922, + "value": 60 + }, + { + "timestamp": 1773726944, + "value": 50 + }, + { + "timestamp": 1773730991, + "value": 60 + }, + { + "timestamp": 1773739180, + "value": 55 } ], - "forecast_minutes_left": 5642, - "forecast_text": "≈ 3д 22ч до разряда", - "forecast_slope_per_hour": -0.4786, - "forecast_reason": null, + "forecast_minutes_left": null, + "forecast_text": null, + "forecast_slope_per_hour": 0.1639, + "forecast_reason": "Заряд не падает", "percent": 45 }, "sensor.0x54ef4410009a6a11_battery": { - "loaded_at": 1774008698, + "loaded_at": 1774247175, "history_hours": 4320, "points": [ { - "timestamp": 1773403899, + "timestamp": 1773642375, "value": 95 }, { - "timestamp": 1773408087, - "value": 94 + "timestamp": 1773646522, + "value": 95 }, { - "timestamp": 1773411344, - "value": 94 + "timestamp": 1773647796, + "value": 95 }, { - "timestamp": 1773414678, - "value": 94 - }, - { - "timestamp": 1773417954, - "value": 94 - }, - { - "timestamp": 1773420793, - "value": 92 - }, - { - "timestamp": 1773424022, - "value": 94 - }, - { - "timestamp": 1773427250, + "timestamp": 1773648329, "value": 93 }, { - "timestamp": 1773430658, + "timestamp": 1773651401, + "value": 94 + }, + { + "timestamp": 1773654742, "value": 95 }, { - "timestamp": 1773433662, + "timestamp": 1773663946, + "value": 94 + }, + { + "timestamp": 1773668185, + "value": 94 + }, + { + "timestamp": 1773668401, + "value": 94 + }, + { + "timestamp": 1773669214, + "value": 94 + }, + { + "timestamp": 1773673180, + "value": 95 + }, + { + "timestamp": 1773680014, + "value": 93 + }, + { + "timestamp": 1773683229, + "value": 95 + }, + { + "timestamp": 1773686431, + "value": 96 + }, + { + "timestamp": 1773689837, + "value": 93 + }, + { + "timestamp": 1773692920, "value": 91 }, { - "timestamp": 1773437113, + "timestamp": 1773696266, + "value": 93 + }, + { + "timestamp": 1773699456, "value": 94 }, { - "timestamp": 1773440355, + "timestamp": 1773702777, + "value": 96 + }, + { + "timestamp": 1773706218, "value": 95 }, { - "timestamp": 1773443434, - "value": 94 + "timestamp": 1773709493, + "value": 91 }, { - "timestamp": 1773450072, - "value": 93 - }, - { - "timestamp": 1773453205, + "timestamp": 1773712864, "value": 92 }, { - "timestamp": 1773456219, - "value": 93 - }, - { - "timestamp": 1773459262, - "value": 92 - }, - { - "timestamp": 1773462330, - "value": 94 - }, - { - "timestamp": 1773465653, - "value": 92 - }, - { - "timestamp": 1773468992, - "value": 93 - }, - { - "timestamp": 1773472099, - "value": 94 - }, - { - "timestamp": 1773475444, - "value": 93 - }, - { - "timestamp": 1773478854, + "timestamp": 1773716073, "value": 95 }, { - "timestamp": 1773481995, - "value": 90 - }, - { - "timestamp": 1773485044, - "value": 92 - }, - { - "timestamp": 1773488293, - "value": 70 + "timestamp": 1773719369, + "value": 93 } ], - "forecast_minutes_left": 13952, - "forecast_text": "≈ 9д 16ч до разряда", - "forecast_slope_per_hour": -0.4043, + "forecast_minutes_left": 85442, + "forecast_text": "≈ 59д 8ч до разряда", + "forecast_slope_per_hour": -0.0646, "forecast_reason": null, - "percent": 94 + "percent": 92 }, "sensor.0x00124b0035558456_battery": { - "loaded_at": 1774008710, + "loaded_at": 1774264856, "history_hours": 4320, "points": [ { - "timestamp": 1773403910, + "timestamp": 1773660056, "value": 82 }, { - "timestamp": 1773411344, + "timestamp": 1773668185, "value": 82 }, { - "timestamp": 1773414678, + "timestamp": 1773668401, "value": 82 }, { - "timestamp": 1773417954, + "timestamp": 1773669214, "value": 82 } ], "forecast_minutes_left": null, "forecast_text": null, - "forecast_slope_per_hour": -0, + "forecast_slope_per_hour": 0, "forecast_reason": "Нет заметного разряда", "percent": 82 }, "sensor.0xa4c13874f5fdfd2a_battery": { - "loaded_at": 1774008710, + "loaded_at": 1774264856, "history_hours": 4320, "points": [ { - "timestamp": 1773403910, - "value": 92.5 + "timestamp": 1773660056, + "value": 91.5 }, { - "timestamp": 1773411344, - "value": 92.5 + "timestamp": 1773668185, + "value": 91.5 }, { - "timestamp": 1773414678, - "value": 92.5 + "timestamp": 1773668401, + "value": 91.5 }, { - "timestamp": 1773417954, - "value": 92.5 + "timestamp": 1773669204, + "value": 91.5 } ], "forecast_minutes_left": null, "forecast_text": null, - "forecast_slope_per_hour": -0, + "forecast_slope_per_hour": 0, "forecast_reason": "Нет заметного разряда", - "percent": 92 + "percent": 93.5 }, "sensor.0x54ef44100119db20_battery": { - "loaded_at": 1774008710, + "loaded_at": 1774264856, "history_hours": 4320, "points": [ { - "timestamp": 1773403910, + "timestamp": 1773660056, "value": 100 }, { - "timestamp": 1773411344, + "timestamp": 1773668185, "value": 100 }, { - "timestamp": 1773414678, + "timestamp": 1773668401, "value": 100 }, { - "timestamp": 1773417954, + "timestamp": 1773669214, "value": 100 } ], "forecast_minutes_left": null, "forecast_text": null, - "forecast_slope_per_hour": -0, + "forecast_slope_per_hour": 0, "forecast_reason": "Нет заметного разряда", "percent": 100 }, @@ -632,82 +636,82 @@ "percent": 100 }, "sensor.0x0ceff6fffe6cffc4_battery": { - "loaded_at": 1774008710, + "loaded_at": 1774264856, "history_hours": 4320, "points": [ { - "timestamp": 1773403910, - "value": 45 - }, - { - "timestamp": 1773406716, + "timestamp": 1773660056, "value": 50 }, { - "timestamp": 1773406731, + "timestamp": 1773664975, "value": 45 }, { - "timestamp": 1773411344, + "timestamp": 1773668185, "value": 45 }, { - "timestamp": 1773414678, + "timestamp": 1773668401, "value": 45 }, { - "timestamp": 1773417954, + "timestamp": 1773669214, "value": 45 }, { - "timestamp": 1773418721, + "timestamp": 1773680611, "value": 50 }, { - "timestamp": 1773418743, + "timestamp": 1773680632, "value": 45 }, { - "timestamp": 1773466239, + "timestamp": 1773730991, "value": 50 }, { - "timestamp": 1773466260, + "timestamp": 1773731013, "value": 45 }, { - "timestamp": 1773488510, + "timestamp": 1773735636, "value": 50 }, { - "timestamp": 1773488531, + "timestamp": 1773735657, "value": 45 + }, + { + "timestamp": 1773739159, + "value": 50 } ], "forecast_minutes_left": null, "forecast_text": null, - "forecast_slope_per_hour": 0.066, + "forecast_slope_per_hour": 0.0887, "forecast_reason": "Заряд не падает", "percent": 55 }, "sensor.0x0ceff6fffe6cdee0_battery": { - "loaded_at": 1774008710, + "loaded_at": 1774264856, "history_hours": 4320, "points": [ { - "timestamp": 1773403910, + "timestamp": 1773660056, "value": 0 }, { - "timestamp": 1773411344, + "timestamp": 1773668185, "value": 0 }, { - "timestamp": 1773414678, + "timestamp": 1773668401, "value": 0 }, { - "timestamp": 1773417954, + "timestamp": 1773669214, "value": 0 } ], @@ -718,163 +722,163 @@ "percent": 60 }, "sensor.0x705464fffe43dee0_battery": { - "loaded_at": 1774008698, + "loaded_at": 1774247175, "history_hours": 4320, "points": [ { - "timestamp": 1773403899, - "value": 50 - }, - { - "timestamp": 1773411344, - "value": 50 - }, - { - "timestamp": 1773414678, - "value": 50 - }, - { - "timestamp": 1773417954, - "value": 50 - }, - { - "timestamp": 1773418722, - "value": 55 - }, - { - "timestamp": 1773466239, - "value": 50 - }, - { - "timestamp": 1773479774, + "timestamp": 1773642375, "value": 45 }, { - "timestamp": 1773488510, - "value": 50 + "timestamp": 1773646522, + "value": 45 + }, + { + "timestamp": 1773647796, + "value": 45 + }, + { + "timestamp": 1773668185, + "value": 45 + }, + { + "timestamp": 1773668401, + "value": 45 + }, + { + "timestamp": 1773669214, + "value": 45 + }, + { + "timestamp": 1773726943, + "value": 40 } ], - "forecast_minutes_left": 15830, - "forecast_text": "≈ 10д 23ч до разряда", - "forecast_slope_per_hour": -0.1327, + "forecast_minutes_left": 9734, + "forecast_text": "≈ 6д 18ч до разряда", + "forecast_slope_per_hour": -0.2157, "forecast_reason": null, "percent": 35 }, "sensor.0xa4c138259d164c22_battery": { - "loaded_at": 1774008710, + "loaded_at": 1774264856, "history_hours": 4320, "points": [ { - "timestamp": 1773403910, + "timestamp": 1773660056, "value": 88.5 }, { - "timestamp": 1773411344, + "timestamp": 1773668171, "value": 88.5 }, { - "timestamp": 1773414678, + "timestamp": 1773668401, "value": 88.5 }, { - "timestamp": 1773417954, + "timestamp": 1773669214, "value": 88.5 } ], "forecast_minutes_left": null, "forecast_text": null, - "forecast_slope_per_hour": -0, - "forecast_reason": "Нет заметного разряда", - "percent": 88.5 - }, - "sensor.0xa4c138fe1cdd2a21_battery": { - "loaded_at": 1774008710, - "history_hours": 4320, - "points": [ - { - "timestamp": 1773403910, - "value": 87.5 - }, - { - "timestamp": 1773411344, - "value": 87.5 - }, - { - "timestamp": 1773414678, - "value": 87.5 - }, - { - "timestamp": 1773417954, - "value": 87.5 - } - ], - "forecast_minutes_left": null, - "forecast_text": null, "forecast_slope_per_hour": 0, "forecast_reason": "Нет заметного разряда", - "percent": 85.5 + "percent": 87 + }, + "sensor.0xa4c138fe1cdd2a21_battery": { + "loaded_at": 1774247175, + "history_hours": 4320, + "points": [ + { + "timestamp": 1773642375, + "value": 87.5 + }, + { + "timestamp": 1773646492, + "value": 87.5 + }, + { + "timestamp": 1773647796, + "value": 87.5 + }, + { + "timestamp": 1773668172, + "value": 87.5 + }, + { + "timestamp": 1773668401, + "value": 87.5 + }, + { + "timestamp": 1773669214, + "value": 87.5 + }, + { + "timestamp": 1773711258, + "value": 86 + } + ], + "forecast_minutes_left": 67706, + "forecast_text": "≈ 47д до разряда", + "forecast_slope_per_hour": -0.0753, + "forecast_reason": null, + "percent": 85 }, "sensor.spalnya_temp_battery": { - "loaded_at": 1774008710, + "loaded_at": 1774264856, "history_hours": 4320, "points": [ { - "timestamp": 1773403910, + "timestamp": 1773660056, "value": 3 }, { - "timestamp": 1773411344, + "timestamp": 1773668185, "value": 3 }, { - "timestamp": 1773414678, + "timestamp": 1773668401, "value": 3 }, { - "timestamp": 1773417954, - "value": 3 - }, - { - "timestamp": 1773433548, - "value": 10 - }, - { - "timestamp": 1773440273, + "timestamp": 1773669214, "value": 3 } ], "forecast_minutes_left": null, "forecast_text": null, - "forecast_slope_per_hour": 0.348, - "forecast_reason": "Заряд не падает", - "percent": 3 + "forecast_slope_per_hour": null, + "forecast_reason": "Батарея уже разряжена", + "percent": 0 }, "sensor.kukhnia_temperatura_battery": { - "loaded_at": 1774008710, + "loaded_at": 1774264856, "history_hours": 4320, "points": [ { - "timestamp": 1773403910, + "timestamp": 1773660056, "value": 90 }, { - "timestamp": 1773411344, + "timestamp": 1773668185, "value": 90 }, { - "timestamp": 1773414678, + "timestamp": 1773668401, "value": 90 }, { - "timestamp": 1773417954, + "timestamp": 1773669214, "value": 90 } ], "forecast_minutes_left": null, "forecast_text": null, - "forecast_slope_per_hour": -0, + "forecast_slope_per_hour": 0, "forecast_reason": "Нет заметного разряда", - "percent": 83 + "percent": 90 } } } diff --git a/storage/popup_state.json b/storage/popup_state.json index 6e3da04..8c2a0cb 100755 --- a/storage/popup_state.json +++ b/storage/popup_state.json @@ -1,6 +1,6 @@ { "active": false, - "sensor_entity_id": "binary_sensor.doorbell_all_occupancy", - "opened_at": 1774098512, + "sensor_entity_id": "binary_sensor.barn_all_occupancy", + "opened_at": 1774271086, "expires_at": null }