short changes

This commit is contained in:
Blackymas
2022-11-05 23:04:00 +01:00
parent 0f3dfd2f4b
commit c1bbe19a08
18 changed files with 21111 additions and 1 deletions

View File

@@ -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