Add some components to the new testing framework (N) (#6210)

This commit is contained in:
Keith Burzinski 2024-03-26 20:24:32 -05:00 committed by GitHub
parent ca6020e11a
commit 9779989f67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
27 changed files with 724 additions and 0 deletions

View File

@ -0,0 +1,19 @@
light:
- platform: neopixelbus
id: addr3
name: Neopixelbus Light
gamma_correct: 2.8
color_correct: [0.0, 0.0, 0.0, 0.0]
default_transition_length: 10s
effects:
- addressable_flicker:
name: Flicker Effect With Custom Values
update_interval: 16ms
intensity: 5%
type: GRBW
variant: SK6812
method:
type: esp32_rmt
channel: 0
num_leds: 5
pin: 4

View File

@ -0,0 +1,17 @@
light:
- platform: neopixelbus
id: addr3
name: Neopixelbus Light
gamma_correct: 2.8
color_correct: [0.0, 0.0, 0.0, 0.0]
default_transition_length: 10s
effects:
- addressable_flicker:
name: Flicker Effect With Custom Values
update_interval: 16ms
intensity: 5%
type: GRBW
variant: SK6812
method: ESP32_I2S_0
num_leds: 5
pin: 4

View File

@ -0,0 +1,17 @@
light:
- platform: neopixelbus
id: addr3
name: Neopixelbus Light
gamma_correct: 2.8
color_correct: [0.0, 0.0, 0.0, 0.0]
default_transition_length: 10s
effects:
- addressable_flicker:
name: Flicker Effect With Custom Values
update_interval: 16ms
intensity: 5%
type: GRBW
variant: SK6812
method: esp8266_uart
num_leds: 5
pin: 2

View File

@ -0,0 +1,6 @@
wifi:
ssid: MySSID
password: password1
network:
enable_ipv6: true

View File

@ -0,0 +1,6 @@
wifi:
ssid: MySSID
password: password1
network:
enable_ipv6: true

View File

@ -0,0 +1,6 @@
wifi:
ssid: MySSID
password: password1
network:
enable_ipv6: true

View File

@ -0,0 +1,6 @@
wifi:
ssid: MySSID
password: password1
network:
enable_ipv6: true

View File

@ -0,0 +1,6 @@
wifi:
ssid: MySSID
password: password1
network:
enable_ipv6: true

View File

@ -0,0 +1,6 @@
wifi:
ssid: MySSID
password: password1
network:
enable_ipv6: true

View File

@ -0,0 +1,60 @@
wifi:
ssid: MySSID
password: password1
uart:
- id: uart_nextion
tx_pin: 4
rx_pin: 5
baud_rate: 115200
binary_sensor:
- platform: nextion
page_id: 0
component_id: 2
name: Nextion Touch Component
- platform: nextion
id: r0_sensor
name: R0 Sensor
component_name: page0.r0
sensor:
- platform: nextion
id: testnumber
name: testnumber
variable_name: testnumber
- platform: nextion
id: testwave
name: testwave
component_id: 2
wave_channel_id: 1
switch:
- platform: nextion
id: r0
name: R0 Switch
component_name: page0.r0
text_sensor:
- platform: nextion
name: text0
id: text0
update_interval: 4s
component_name: text0
display:
- platform: nextion
tft_url: http://esphome.io/default35.tft
update_interval: 5s
on_sleep:
then:
lambda: 'ESP_LOGD("display","Display went to sleep");'
on_wake:
then:
lambda: 'ESP_LOGD("display","Display woke up");'
on_setup:
then:
lambda: 'ESP_LOGD("display","Display setup completed");'
on_page:
then:
lambda: 'ESP_LOGD("display","Display shows new page %u", x);'

View File

@ -0,0 +1,60 @@
wifi:
ssid: MySSID
password: password1
uart:
- id: uart_nextion
tx_pin: 4
rx_pin: 5
baud_rate: 115200
binary_sensor:
- platform: nextion
page_id: 0
component_id: 2
name: Nextion Touch Component
- platform: nextion
id: r0_sensor
name: R0 Sensor
component_name: page0.r0
sensor:
- platform: nextion
id: testnumber
name: testnumber
variable_name: testnumber
- platform: nextion
id: testwave
name: testwave
component_id: 2
wave_channel_id: 1
switch:
- platform: nextion
id: r0
name: R0 Switch
component_name: page0.r0
text_sensor:
- platform: nextion
name: text0
id: text0
update_interval: 4s
component_name: text0
display:
- platform: nextion
tft_url: http://esphome.io/default35.tft
update_interval: 5s
on_sleep:
then:
lambda: 'ESP_LOGD("display","Display went to sleep");'
on_wake:
then:
lambda: 'ESP_LOGD("display","Display woke up");'
on_setup:
then:
lambda: 'ESP_LOGD("display","Display setup completed");'
on_page:
then:
lambda: 'ESP_LOGD("display","Display shows new page %u", x);'

View File

@ -0,0 +1,60 @@
wifi:
ssid: MySSID
password: password1
uart:
- id: uart_nextion
tx_pin: 17
rx_pin: 16
baud_rate: 115200
binary_sensor:
- platform: nextion
page_id: 0
component_id: 2
name: Nextion Touch Component
- platform: nextion
id: r0_sensor
name: R0 Sensor
component_name: page0.r0
sensor:
- platform: nextion
id: testnumber
name: testnumber
variable_name: testnumber
- platform: nextion
id: testwave
name: testwave
component_id: 2
wave_channel_id: 1
switch:
- platform: nextion
id: r0
name: R0 Switch
component_name: page0.r0
text_sensor:
- platform: nextion
name: text0
id: text0
update_interval: 4s
component_name: text0
display:
- platform: nextion
tft_url: http://esphome.io/default35.tft
update_interval: 5s
on_sleep:
then:
lambda: 'ESP_LOGD("display","Display went to sleep");'
on_wake:
then:
lambda: 'ESP_LOGD("display","Display woke up");'
on_setup:
then:
lambda: 'ESP_LOGD("display","Display setup completed");'
on_page:
then:
lambda: 'ESP_LOGD("display","Display shows new page %u", x);'

View File

@ -0,0 +1,60 @@
wifi:
ssid: MySSID
password: password1
uart:
- id: uart_nextion
tx_pin: 17
rx_pin: 16
baud_rate: 115200
binary_sensor:
- platform: nextion
page_id: 0
component_id: 2
name: Nextion Touch Component
- platform: nextion
id: r0_sensor
name: R0 Sensor
component_name: page0.r0
sensor:
- platform: nextion
id: testnumber
name: testnumber
variable_name: testnumber
- platform: nextion
id: testwave
name: testwave
component_id: 2
wave_channel_id: 1
switch:
- platform: nextion
id: r0
name: R0 Switch
component_name: page0.r0
text_sensor:
- platform: nextion
name: text0
id: text0
update_interval: 4s
component_name: text0
display:
- platform: nextion
tft_url: http://esphome.io/default35.tft
update_interval: 5s
on_sleep:
then:
lambda: 'ESP_LOGD("display","Display went to sleep");'
on_wake:
then:
lambda: 'ESP_LOGD("display","Display woke up");'
on_setup:
then:
lambda: 'ESP_LOGD("display","Display setup completed");'
on_page:
then:
lambda: 'ESP_LOGD("display","Display shows new page %u", x);'

View File

@ -0,0 +1,60 @@
wifi:
ssid: MySSID
password: password1
uart:
- id: uart_nextion
tx_pin: 4
rx_pin: 5
baud_rate: 115200
binary_sensor:
- platform: nextion
page_id: 0
component_id: 2
name: Nextion Touch Component
- platform: nextion
id: r0_sensor
name: R0 Sensor
component_name: page0.r0
sensor:
- platform: nextion
id: testnumber
name: testnumber
variable_name: testnumber
- platform: nextion
id: testwave
name: testwave
component_id: 2
wave_channel_id: 1
switch:
- platform: nextion
id: r0
name: R0 Switch
component_name: page0.r0
text_sensor:
- platform: nextion
name: text0
id: text0
update_interval: 4s
component_name: text0
display:
- platform: nextion
tft_url: http://esphome.io/default35.tft
update_interval: 5s
on_sleep:
then:
lambda: 'ESP_LOGD("display","Display went to sleep");'
on_wake:
then:
lambda: 'ESP_LOGD("display","Display woke up");'
on_setup:
then:
lambda: 'ESP_LOGD("display","Display setup completed");'
on_page:
then:
lambda: 'ESP_LOGD("display","Display shows new page %u", x);'

View File

@ -0,0 +1,55 @@
uart:
- id: uart_nextion
tx_pin: 4
rx_pin: 5
baud_rate: 115200
binary_sensor:
- platform: nextion
page_id: 0
component_id: 2
name: Nextion Touch Component
- platform: nextion
id: r0_sensor
name: R0 Sensor
component_name: page0.r0
sensor:
- platform: nextion
id: testnumber
name: testnumber
variable_name: testnumber
- platform: nextion
id: testwave
name: testwave
component_id: 2
wave_channel_id: 1
switch:
- platform: nextion
id: r0
name: R0 Switch
component_name: page0.r0
text_sensor:
- platform: nextion
name: text0
id: text0
update_interval: 4s
component_name: text0
display:
- platform: nextion
update_interval: 5s
on_sleep:
then:
lambda: 'ESP_LOGD("display","Display went to sleep");'
on_wake:
then:
lambda: 'ESP_LOGD("display","Display woke up");'
on_setup:
then:
lambda: 'ESP_LOGD("display","Display setup completed");'
on_page:
then:
lambda: 'ESP_LOGD("display","Display shows new page %u", x);'

View File

@ -0,0 +1,20 @@
remote_receiver:
id: rcvr
pin: 4
dump: all
remote_transmitter:
pin: 2
carrier_duty_percent: 50%
sensor:
- platform: template
id: noblex_ac_sensor
lambda: "return 21;"
climate:
- platform: noblex
name: AC Living
id: noblex_ac
sensor: noblex_ac_sensor
receiver_id: rcvr

View File

@ -0,0 +1,20 @@
remote_receiver:
id: rcvr
pin: 4
dump: all
remote_transmitter:
pin: 2
carrier_duty_percent: 50%
sensor:
- platform: template
id: noblex_ac_sensor
lambda: "return 21;"
climate:
- platform: noblex
name: AC Living
id: noblex_ac
sensor: noblex_ac_sensor
receiver_id: rcvr

View File

@ -0,0 +1,20 @@
remote_receiver:
id: rcvr
pin: 4
dump: all
remote_transmitter:
pin: 2
carrier_duty_percent: 50%
sensor:
- platform: template
id: noblex_ac_sensor
lambda: "return 21;"
climate:
- platform: noblex
name: AC Living
id: noblex_ac
sensor: noblex_ac_sensor
receiver_id: rcvr

View File

@ -0,0 +1,20 @@
remote_receiver:
id: rcvr
pin: 4
dump: all
remote_transmitter:
pin: 2
carrier_duty_percent: 50%
sensor:
- platform: template
id: noblex_ac_sensor
lambda: "return 21;"
climate:
- platform: noblex
name: AC Living
id: noblex_ac
sensor: noblex_ac_sensor
receiver_id: rcvr

View File

@ -0,0 +1,20 @@
remote_receiver:
id: rcvr
pin: 4
dump: all
remote_transmitter:
pin: 2
carrier_duty_percent: 50%
sensor:
- platform: template
id: noblex_ac_sensor
lambda: "return 21;"
climate:
- platform: noblex
name: AC Living
id: noblex_ac
sensor: noblex_ac_sensor
receiver_id: rcvr

View File

@ -0,0 +1,26 @@
sensor:
- platform: adc
id: my_sensor
pin: 4
attenuation: 11db
- platform: resistance
sensor: my_sensor
configuration: DOWNSTREAM
resistor: 10kΩ
reference_voltage: 3.3V
name: Resistance
id: resist
- platform: ntc
sensor: resist
name: NTC Sensor
calibration:
b_constant: 3950
reference_resistance: 10k
reference_temperature: 25°C
- platform: ntc
sensor: resist
name: NTC Sensor2
calibration:
- 10.0kOhm -> 25°C
- 27.219kOhm -> 0°C
- 14.674kOhm -> 15°C

View File

@ -0,0 +1,26 @@
sensor:
- platform: adc
id: my_sensor
pin: 32
attenuation: 11db
- platform: resistance
sensor: my_sensor
configuration: DOWNSTREAM
resistor: 10kΩ
reference_voltage: 3.3V
name: Resistance
id: resist
- platform: ntc
sensor: resist
name: NTC Sensor
calibration:
b_constant: 3950
reference_resistance: 10k
reference_temperature: 25°C
- platform: ntc
sensor: resist
name: NTC Sensor2
calibration:
- 10.0kOhm -> 25°C
- 27.219kOhm -> 0°C
- 14.674kOhm -> 15°C

View File

@ -0,0 +1,26 @@
sensor:
- platform: adc
id: my_sensor
pin: 4
attenuation: 11db
- platform: resistance
sensor: my_sensor
configuration: DOWNSTREAM
resistor: 10kΩ
reference_voltage: 3.3V
name: Resistance
id: resist
- platform: ntc
sensor: resist
name: NTC Sensor
calibration:
b_constant: 3950
reference_resistance: 10k
reference_temperature: 25°C
- platform: ntc
sensor: resist
name: NTC Sensor2
calibration:
- 10.0kOhm -> 25°C
- 27.219kOhm -> 0°C
- 14.674kOhm -> 15°C

View File

@ -0,0 +1,26 @@
sensor:
- platform: adc
id: my_sensor
pin: 4
attenuation: 11db
- platform: resistance
sensor: my_sensor
configuration: DOWNSTREAM
resistor: 10kΩ
reference_voltage: 3.3V
name: Resistance
id: resist
- platform: ntc
sensor: resist
name: NTC Sensor
calibration:
b_constant: 3950
reference_resistance: 10k
reference_temperature: 25°C
- platform: ntc
sensor: resist
name: NTC Sensor2
calibration:
- 10.0kOhm -> 25°C
- 27.219kOhm -> 0°C
- 14.674kOhm -> 15°C

View File

@ -0,0 +1,26 @@
sensor:
- platform: adc
id: my_sensor
pin: 32
attenuation: 11db
- platform: resistance
sensor: my_sensor
configuration: DOWNSTREAM
resistor: 10kΩ
reference_voltage: 3.3V
name: Resistance
id: resist
- platform: ntc
sensor: resist
name: NTC Sensor
calibration:
b_constant: 3950
reference_resistance: 10k
reference_temperature: 25°C
- platform: ntc
sensor: resist
name: NTC Sensor2
calibration:
- 10.0kOhm -> 25°C
- 27.219kOhm -> 0°C
- 14.674kOhm -> 15°C

View File

@ -0,0 +1,25 @@
sensor:
- platform: adc
id: my_sensor
pin: A0
- platform: resistance
sensor: my_sensor
configuration: DOWNSTREAM
resistor: 10kΩ
reference_voltage: 3.3V
name: Resistance
id: resist
- platform: ntc
sensor: resist
name: NTC Sensor
calibration:
b_constant: 3950
reference_resistance: 10k
reference_temperature: 25°C
- platform: ntc
sensor: resist
name: NTC Sensor2
calibration:
- 10.0kOhm -> 25°C
- 27.219kOhm -> 0°C
- 14.674kOhm -> 15°C

View File

@ -0,0 +1,25 @@
sensor:
- platform: adc
id: my_sensor
pin: 26
- platform: resistance
sensor: my_sensor
configuration: DOWNSTREAM
resistor: 10kΩ
reference_voltage: 3.3V
name: Resistance
id: resist
- platform: ntc
sensor: resist
name: NTC Sensor
calibration:
b_constant: 3950
reference_resistance: 10k
reference_temperature: 25°C
- platform: ntc
sensor: resist
name: NTC Sensor2
calibration:
- 10.0kOhm -> 25°C
- 27.219kOhm -> 0°C
- 14.674kOhm -> 15°C