mirror of
https://github.com/GrKoR/esphome_aux_ac_component.git
synced 2025-12-08 04:27:05 +03:00
new: advanced example have slider for power limitation function.
This commit is contained in:
@@ -215,3 +215,15 @@ number:
|
|||||||
- aux_ac.vlouver_set:
|
- aux_ac.vlouver_set:
|
||||||
id: aux_id
|
id: aux_id
|
||||||
position: !lambda "return x;"
|
position: !lambda "return x;"
|
||||||
|
|
||||||
|
- platform: template
|
||||||
|
name: ${upper_devicename} Power Limit
|
||||||
|
id: ${devicename}_power_limit
|
||||||
|
icon: "mdi:battery-unknown"
|
||||||
|
mode: "slider"
|
||||||
|
min_value: 30
|
||||||
|
max_value: 100
|
||||||
|
step: 1
|
||||||
|
set_action:
|
||||||
|
then:
|
||||||
|
- lambda: !lambda "id(aux_id).powerLimitationOnSequence( x );"
|
||||||
|
|||||||
Reference in New Issue
Block a user