Add screen restart and ADC PR to all NSPanels

This commit is contained in:
2025-01-21 13:00:55 +01:00
parent f8d585cb54
commit 7b04a57a08
6 changed files with 50 additions and 2 deletions

View File

@@ -10,6 +10,11 @@ substitutions:
esphome: esphome:
name: mcu-${device} name: mcu-${device}
comment: ${comment} comment: ${comment}
on_boot:
then:
- switch.turn_off: screen_power
- delay: 1s
- switch.turn_on: screen_power
esp32: esp32:
board: nodemcu-32s board: nodemcu-32s
@@ -22,6 +27,9 @@ external_components:
url: https://github.com/sairon/esphome-nspanel-lovelace-ui url: https://github.com/sairon/esphome-nspanel-lovelace-ui
ref: dev ref: dev
components: [nspanel_lovelace] components: [nspanel_lovelace]
- source: github://pr#7942
components: adc
refresh: 0s
- source: components - source: components
packages: packages:

View File

@@ -10,7 +10,12 @@ substitutions:
esphome: esphome:
name: mcu-${device} name: mcu-${device}
comment: ${comment} comment: ${comment}
# on_boot: on_boot:
then:
- switch.turn_off: screen_power
- delay: 1s
- switch.turn_on: screen_power
# priority: -100 # priority: -100
# then: # then:
# - wait_until: # - wait_until:
@@ -35,6 +40,9 @@ external_components:
ref: dev ref: dev
refresh: 0s refresh: 0s
components: [nspanel_lovelace] components: [nspanel_lovelace]
- source: github://pr#7942
components: adc
refresh: 0s
- source: components - source: components
packages: packages:

View File

@@ -10,6 +10,11 @@ substitutions:
esphome: esphome:
name: mcu-${device} name: mcu-${device}
comment: ${comment} comment: ${comment}
on_boot:
then:
- switch.turn_off: screen_power
- delay: 1s
- switch.turn_on: screen_power
esp32: esp32:
board: nodemcu-32s board: nodemcu-32s
@@ -22,6 +27,9 @@ external_components:
url: https://github.com/sairon/esphome-nspanel-lovelace-ui url: https://github.com/sairon/esphome-nspanel-lovelace-ui
ref: dev ref: dev
components: [nspanel_lovelace] components: [nspanel_lovelace]
- source: github://pr#7942
components: adc
refresh: 0s
- source: components - source: components
packages: packages:

View File

@@ -10,6 +10,11 @@ substitutions:
esphome: esphome:
name: mcu-${device} name: mcu-${device}
comment: ${comment} comment: ${comment}
on_boot:
then:
- switch.turn_off: screen_power
- delay: 1s
- switch.turn_on: screen_power
esp32: esp32:
board: nodemcu-32s board: nodemcu-32s
@@ -22,6 +27,9 @@ external_components:
url: https://github.com/sairon/esphome-nspanel-lovelace-ui url: https://github.com/sairon/esphome-nspanel-lovelace-ui
ref: dev ref: dev
components: [nspanel_lovelace] components: [nspanel_lovelace]
- source: github://pr#7942
components: adc
refresh: 0s
- source: components - source: components
packages: packages:

View File

@@ -10,6 +10,11 @@ substitutions:
esphome: esphome:
name: mcu-${device} name: mcu-${device}
comment: ${comment} comment: ${comment}
on_boot:
then:
- switch.turn_off: screen_power
- delay: 1s
- switch.turn_on: screen_power
esp32: esp32:
board: nodemcu-32s board: nodemcu-32s
@@ -22,6 +27,9 @@ external_components:
url: https://github.com/sairon/esphome-nspanel-lovelace-ui url: https://github.com/sairon/esphome-nspanel-lovelace-ui
ref: dev ref: dev
components: [nspanel_lovelace] components: [nspanel_lovelace]
- source: github://pr#7942
components: adc
refresh: 0s
- source: components - source: components
packages: packages:
@@ -248,7 +256,7 @@ light:
rgb_order: GRB rgb_order: GRB
pin: 23 pin: 23
num_leds: 3 num_leds: 3
rmt_channel: 0 # rmt_channel: 0
chipset: SK6812 chipset: SK6812
effects: effects:
- pulse: - pulse:

View File

@@ -10,6 +10,11 @@ substitutions:
esphome: esphome:
name: mcu-${device} name: mcu-${device}
comment: ${comment} comment: ${comment}
on_boot:
then:
- switch.turn_off: screen_power
- delay: 1s
- switch.turn_on: screen_power
esp32: esp32:
board: nodemcu-32s board: nodemcu-32s
@@ -22,6 +27,9 @@ external_components:
url: https://github.com/sairon/esphome-nspanel-lovelace-ui url: https://github.com/sairon/esphome-nspanel-lovelace-ui
ref: dev ref: dev
components: [nspanel_lovelace] components: [nspanel_lovelace]
- source: github://pr#7942
components: adc
refresh: 0s
- source: components - source: components
packages: packages: