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:
committed by
Franck Nijhof
parent
e60048ef30
commit
ff79943776
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user