1
0
mirror of https://github.com/home-assistant/core.git synced 2026-04-02 00:20:30 +01:00

Restore support for number entities as limits in battery conditions and triggers (#166607)

This commit is contained in:
Erik Montnemery
2026-03-26 16:35:59 +01:00
committed by Franck Nijhof
parent e60048ef30
commit ff79943776
2 changed files with 4 additions and 0 deletions

View File

@@ -19,6 +19,8 @@
unit_of_measurement: "%"
- domain: sensor
device_class: battery
- domain: number
device_class: battery
.battery_threshold_number: &battery_threshold_number
min: 0

View File

@@ -13,6 +13,8 @@
.battery_threshold_entity: &battery_threshold_entity
- domain: input_number
unit_of_measurement: "%"
- domain: number
device_class: battery
- domain: sensor
device_class: battery