short changes
This commit is contained in:
25
esphome.yaml
25
esphome.yaml
@@ -805,8 +805,31 @@ text_sensor:
|
||||
nextion_id: disp1
|
||||
name: $device_name last click
|
||||
id: disp1_last_click_va
|
||||
update_interval: 50ms
|
||||
# update_interval: 50ms
|
||||
component_name: lastclick
|
||||
on_value:
|
||||
then:
|
||||
- wait_until:
|
||||
switch.is_on: nextion_init
|
||||
- number.set:
|
||||
id: display_brightness
|
||||
value: !lambda 'return string(x);'
|
||||
|
||||
|
||||
|
||||
# - platform: nextion
|
||||
# id: brightslider
|
||||
# name: $device_name brightness Slider
|
||||
# variable_name: brightslider
|
||||
# internal: true
|
||||
# on_value:
|
||||
# then:
|
||||
# - wait_until:
|
||||
# switch.is_on: nextion_init
|
||||
# - number.set:
|
||||
# id: display_brightness
|
||||
# value: !lambda 'return int(x);'
|
||||
|
||||
|
||||
##### last click lightsettings page, the main action variable - push to HA #####
|
||||
- platform: nextion
|
||||
|
||||
Reference in New Issue
Block a user