battery_low_power
Last updated on June 17, 2024
Data type: BOOL.
Usage method: stores the device state without changing it.
Purpose: shows whether the battery is low or not:
true
– low battery.false
– high battery.
Devices with this function
- curtain — curtains.
- scenario_button — scenario buttons.
- sensor_door — opening sensors.
- sensor_gas — gas sensors.
- sensor_pir — motion sensors.
- sensor_smoke — smoke sensors.
- sensor_temp — temperature and humidity sensors.
- sensor_water_leak — leak sensors.
- valve — motorized valves.
- window_blind — louvered blinds, roll blinds.
Examples of voice commands
No voice commands are available.
Function description for a device model
The function must be added to the model descriptions of all devices that support it.
"features": [
"battery_low_power",
// ...
]
Function state description example
In this example, the battery is low.
{
"states": [
{
"key": "battery_low_power",
"value": {
"type": "BOOL",
"bool_value": true
}
}
]
}