Tasmota/tasmota/include
stefanbode d1a4296867
New DEEPSLEEP topic for HA + Battery Level % support (#19134)
* New LWT on deepsleep

To allow better integration into HA LWT topic will report details of sleep status:
16:54:04.388 MQT: hm/tele/ESP_3284D1/LWT =
{"Sleep":{"Time":"2023-07-17T16:55:03","Sleep":1689612844,"Wakeup":1689612903}}

* Revert LWT back to non JSON

Send DeelSleep on LWT
Send Deepsleep parameters on topic DeepSleep

* Setting default for batteryLevel

* Enable BatteryPercentSet

Changing the battery level e.g. by rule

* Added Battery % to status message

* added battery_level_percent

* Added battery % support in STATE message

* Enable setting battery level

101 is reserved for power-plug. No battery Level reported

* Setting default for battery Level

101 is reserved for power plug
0..100 normal battery values

* Revert back LWT to Offline

Removed "DeepSleep" LWT status until further decision is made. Current implementation is technical sufficient for HA to detect a battery powered device

* Added discovery message after deepsleep change

* Added discovery for battery and deepsleep
2023-07-20 09:51:08 +02:00
..
i18n.h Command `BrRestart` to restart the Berry VM (experimental) (#19003) 2023-07-02 21:52:01 +02:00
local_ca_data_sample.h Fix local ca includes 2022-06-02 17:14:05 +02:00
local_ca_descriptor_sample.h Fix local ca includes 2022-06-02 17:14:05 +02:00
Powerwall.h Scripter update (#18578) 2023-05-05 09:17:17 +02:00
tasmota_compat.h Bump version to v11.1.0.4 2022-06-02 14:17:39 +02:00
tasmota_configurations_ESP32.h Update change logs 2023-06-29 14:10:49 +02:00
tasmota_configurations.h Update change logs 2023-06-29 14:10:49 +02:00
tasmota_globals.h Fix ESP32 Matter support 2023-06-26 12:38:29 +02:00
tasmota_template_legacy.h Bump version to v11.1.0.4 2022-06-02 14:17:39 +02:00
tasmota_template.h Added support for Dingtian Relay Board v3.6.10 (#18535) 2023-05-01 14:51:02 +02:00
tasmota_types.h New DEEPSLEEP topic for HA + Battery Level % support (#19134) 2023-07-20 09:51:08 +02:00
tasmota_version.h Bump version v13.0.0.2 2023-07-08 17:37:12 +02:00
tasmota.h Fix driver config restore 2023-07-11 16:12:04 +02:00
xdrv_53_projector_ctrl.h Bump version to v11.1.0.4 2022-06-02 14:17:39 +02:00
xsns_62_esp32_mi.h Berry: add BLE server/advertiser (#18494) 2023-04-26 08:39:29 +02:00