mirror of
https://github.com/esphome/esphome.git
synced 2024-11-21 22:48:10 +01:00
Add some components to the new testing framework (T) (#6229)
This commit is contained in:
parent
18149bc276
commit
ed381b45eb
158 changed files with 4034 additions and 0 deletions
10
tests/components/t6615/test.esp32-c3-idf.yaml
Normal file
10
tests/components/t6615/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
uart:
|
||||
- id: uart_t6615
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 19200
|
||||
|
||||
sensor:
|
||||
- platform: t6615
|
||||
co2:
|
||||
name: CO2 Sensor
|
10
tests/components/t6615/test.esp32-c3.yaml
Normal file
10
tests/components/t6615/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
uart:
|
||||
- id: uart_t6615
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 19200
|
||||
|
||||
sensor:
|
||||
- platform: t6615
|
||||
co2:
|
||||
name: CO2 Sensor
|
10
tests/components/t6615/test.esp32-idf.yaml
Normal file
10
tests/components/t6615/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
uart:
|
||||
- id: uart_t6615
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 19200
|
||||
|
||||
sensor:
|
||||
- platform: t6615
|
||||
co2:
|
||||
name: CO2 Sensor
|
10
tests/components/t6615/test.esp32.yaml
Normal file
10
tests/components/t6615/test.esp32.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
uart:
|
||||
- id: uart_t6615
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 19200
|
||||
|
||||
sensor:
|
||||
- platform: t6615
|
||||
co2:
|
||||
name: CO2 Sensor
|
10
tests/components/t6615/test.esp8266.yaml
Normal file
10
tests/components/t6615/test.esp8266.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
uart:
|
||||
- id: uart_t6615
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 19200
|
||||
|
||||
sensor:
|
||||
- platform: t6615
|
||||
co2:
|
||||
name: CO2 Sensor
|
10
tests/components/t6615/test.rp2040.yaml
Normal file
10
tests/components/t6615/test.rp2040.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
uart:
|
||||
- id: uart_t6615
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 19200
|
||||
|
||||
sensor:
|
||||
- platform: t6615
|
||||
co2:
|
||||
name: CO2 Sensor
|
15
tests/components/tca9548a/test.esp32-c3-idf.yaml
Normal file
15
tests/components/tca9548a/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_tca9548a
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
tca9548a:
|
||||
- id: multiplex0
|
||||
address: 0x70
|
||||
channels:
|
||||
- bus_id: multiplex0_chan0
|
||||
channel: 0
|
||||
i2c_id: i2c_tca9548a
|
||||
- id: multiplex1
|
||||
address: 0x71
|
||||
i2c_id: multiplex0_chan0
|
15
tests/components/tca9548a/test.esp32-c3.yaml
Normal file
15
tests/components/tca9548a/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_tca9548a
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
tca9548a:
|
||||
- id: multiplex0
|
||||
address: 0x70
|
||||
channels:
|
||||
- bus_id: multiplex0_chan0
|
||||
channel: 0
|
||||
i2c_id: i2c_tca9548a
|
||||
- id: multiplex1
|
||||
address: 0x71
|
||||
i2c_id: multiplex0_chan0
|
15
tests/components/tca9548a/test.esp32-idf.yaml
Normal file
15
tests/components/tca9548a/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_tca9548a
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
tca9548a:
|
||||
- id: multiplex0
|
||||
address: 0x70
|
||||
channels:
|
||||
- bus_id: multiplex0_chan0
|
||||
channel: 0
|
||||
i2c_id: i2c_tca9548a
|
||||
- id: multiplex1
|
||||
address: 0x71
|
||||
i2c_id: multiplex0_chan0
|
15
tests/components/tca9548a/test.esp32.yaml
Normal file
15
tests/components/tca9548a/test.esp32.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_tca9548a
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
tca9548a:
|
||||
- id: multiplex0
|
||||
address: 0x70
|
||||
channels:
|
||||
- bus_id: multiplex0_chan0
|
||||
channel: 0
|
||||
i2c_id: i2c_tca9548a
|
||||
- id: multiplex1
|
||||
address: 0x71
|
||||
i2c_id: multiplex0_chan0
|
15
tests/components/tca9548a/test.esp8266.yaml
Normal file
15
tests/components/tca9548a/test.esp8266.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_tca9548a
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
tca9548a:
|
||||
- id: multiplex0
|
||||
address: 0x70
|
||||
channels:
|
||||
- bus_id: multiplex0_chan0
|
||||
channel: 0
|
||||
i2c_id: i2c_tca9548a
|
||||
- id: multiplex1
|
||||
address: 0x71
|
||||
i2c_id: multiplex0_chan0
|
15
tests/components/tca9548a/test.rp2040.yaml
Normal file
15
tests/components/tca9548a/test.rp2040.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_tca9548a
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
tca9548a:
|
||||
- id: multiplex0
|
||||
address: 0x70
|
||||
channels:
|
||||
- bus_id: multiplex0_chan0
|
||||
channel: 0
|
||||
i2c_id: i2c_tca9548a
|
||||
- id: multiplex1
|
||||
address: 0x71
|
||||
i2c_id: multiplex0_chan0
|
15
tests/components/tcl112/test.esp32-c3-idf.yaml
Normal file
15
tests/components/tcl112/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
remote_transmitter:
|
||||
pin: 2
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: tcl112_sensor
|
||||
lambda: "return 21;"
|
||||
|
||||
climate:
|
||||
- platform: tcl112
|
||||
name: TCL112 Climate with Sensor
|
||||
supports_heat: true
|
||||
supports_cool: true
|
||||
sensor: tcl112_sensor
|
15
tests/components/tcl112/test.esp32-c3.yaml
Normal file
15
tests/components/tcl112/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
remote_transmitter:
|
||||
pin: 2
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: tcl112_sensor
|
||||
lambda: "return 21;"
|
||||
|
||||
climate:
|
||||
- platform: tcl112
|
||||
name: TCL112 Climate with Sensor
|
||||
supports_heat: true
|
||||
supports_cool: true
|
||||
sensor: tcl112_sensor
|
15
tests/components/tcl112/test.esp32-idf.yaml
Normal file
15
tests/components/tcl112/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
remote_transmitter:
|
||||
pin: 2
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: tcl112_sensor
|
||||
lambda: "return 21;"
|
||||
|
||||
climate:
|
||||
- platform: tcl112
|
||||
name: TCL112 Climate with Sensor
|
||||
supports_heat: true
|
||||
supports_cool: true
|
||||
sensor: tcl112_sensor
|
15
tests/components/tcl112/test.esp32.yaml
Normal file
15
tests/components/tcl112/test.esp32.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
remote_transmitter:
|
||||
pin: 2
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: tcl112_sensor
|
||||
lambda: "return 21;"
|
||||
|
||||
climate:
|
||||
- platform: tcl112
|
||||
name: TCL112 Climate with Sensor
|
||||
supports_heat: true
|
||||
supports_cool: true
|
||||
sensor: tcl112_sensor
|
15
tests/components/tcl112/test.esp8266.yaml
Normal file
15
tests/components/tcl112/test.esp8266.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
remote_transmitter:
|
||||
pin: 5
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: tcl112_sensor
|
||||
lambda: "return 21;"
|
||||
|
||||
climate:
|
||||
- platform: tcl112
|
||||
name: TCL112 Climate with Sensor
|
||||
supports_heat: true
|
||||
supports_cool: true
|
||||
sensor: tcl112_sensor
|
21
tests/components/tcs34725/test.esp32-c3-idf.yaml
Normal file
21
tests/components/tcs34725/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
i2c:
|
||||
- id: i2c_tcs34725
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: tcs34725
|
||||
red_channel:
|
||||
name: Red Channel
|
||||
green_channel:
|
||||
name: Green Channel
|
||||
blue_channel:
|
||||
name: Blue Channel
|
||||
clear_channel:
|
||||
name: Clear Channel
|
||||
illuminance:
|
||||
name: Illuminance
|
||||
color_temperature:
|
||||
name: Color Temperature
|
||||
integration_time: 614ms
|
||||
gain: 60x
|
21
tests/components/tcs34725/test.esp32-c3.yaml
Normal file
21
tests/components/tcs34725/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
i2c:
|
||||
- id: i2c_tcs34725
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: tcs34725
|
||||
red_channel:
|
||||
name: Red Channel
|
||||
green_channel:
|
||||
name: Green Channel
|
||||
blue_channel:
|
||||
name: Blue Channel
|
||||
clear_channel:
|
||||
name: Clear Channel
|
||||
illuminance:
|
||||
name: Illuminance
|
||||
color_temperature:
|
||||
name: Color Temperature
|
||||
integration_time: 614ms
|
||||
gain: 60x
|
21
tests/components/tcs34725/test.esp32-idf.yaml
Normal file
21
tests/components/tcs34725/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
i2c:
|
||||
- id: i2c_tcs34725
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: tcs34725
|
||||
red_channel:
|
||||
name: Red Channel
|
||||
green_channel:
|
||||
name: Green Channel
|
||||
blue_channel:
|
||||
name: Blue Channel
|
||||
clear_channel:
|
||||
name: Clear Channel
|
||||
illuminance:
|
||||
name: Illuminance
|
||||
color_temperature:
|
||||
name: Color Temperature
|
||||
integration_time: 614ms
|
||||
gain: 60x
|
21
tests/components/tcs34725/test.esp32.yaml
Normal file
21
tests/components/tcs34725/test.esp32.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
i2c:
|
||||
- id: i2c_tcs34725
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: tcs34725
|
||||
red_channel:
|
||||
name: Red Channel
|
||||
green_channel:
|
||||
name: Green Channel
|
||||
blue_channel:
|
||||
name: Blue Channel
|
||||
clear_channel:
|
||||
name: Clear Channel
|
||||
illuminance:
|
||||
name: Illuminance
|
||||
color_temperature:
|
||||
name: Color Temperature
|
||||
integration_time: 614ms
|
||||
gain: 60x
|
21
tests/components/tcs34725/test.esp8266.yaml
Normal file
21
tests/components/tcs34725/test.esp8266.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
i2c:
|
||||
- id: i2c_tcs34725
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: tcs34725
|
||||
red_channel:
|
||||
name: Red Channel
|
||||
green_channel:
|
||||
name: Green Channel
|
||||
blue_channel:
|
||||
name: Blue Channel
|
||||
clear_channel:
|
||||
name: Clear Channel
|
||||
illuminance:
|
||||
name: Illuminance
|
||||
color_temperature:
|
||||
name: Color Temperature
|
||||
integration_time: 614ms
|
||||
gain: 60x
|
21
tests/components/tcs34725/test.rp2040.yaml
Normal file
21
tests/components/tcs34725/test.rp2040.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
i2c:
|
||||
- id: i2c_tcs34725
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: tcs34725
|
||||
red_channel:
|
||||
name: Red Channel
|
||||
green_channel:
|
||||
name: Green Channel
|
||||
blue_channel:
|
||||
name: Blue Channel
|
||||
clear_channel:
|
||||
name: Clear Channel
|
||||
illuminance:
|
||||
name: Illuminance
|
||||
color_temperature:
|
||||
name: Color Temperature
|
||||
integration_time: 614ms
|
||||
gain: 60x
|
9
tests/components/tee501/test.esp32-c3-idf.yaml
Normal file
9
tests/components/tee501/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
i2c:
|
||||
- id: i2c_tee501
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: tee501
|
||||
name: TEE501 Temperature
|
||||
address: 0x48
|
9
tests/components/tee501/test.esp32-c3.yaml
Normal file
9
tests/components/tee501/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
i2c:
|
||||
- id: i2c_tee501
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: tee501
|
||||
name: TEE501 Temperature
|
||||
address: 0x48
|
9
tests/components/tee501/test.esp32-idf.yaml
Normal file
9
tests/components/tee501/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
i2c:
|
||||
- id: i2c_tee501
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: tee501
|
||||
name: TEE501 Temperature
|
||||
address: 0x48
|
9
tests/components/tee501/test.esp32.yaml
Normal file
9
tests/components/tee501/test.esp32.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
i2c:
|
||||
- id: i2c_tee501
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: tee501
|
||||
name: TEE501 Temperature
|
||||
address: 0x48
|
9
tests/components/tee501/test.esp8266.yaml
Normal file
9
tests/components/tee501/test.esp8266.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
i2c:
|
||||
- id: i2c_tee501
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: tee501
|
||||
name: TEE501 Temperature
|
||||
address: 0x48
|
9
tests/components/tee501/test.rp2040.yaml
Normal file
9
tests/components/tee501/test.rp2040.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
i2c:
|
||||
- id: i2c_tee501
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: tee501
|
||||
name: TEE501 Temperature
|
||||
address: 0x48
|
42
tests/components/teleinfo/test.esp32-c3-idf.yaml
Normal file
42
tests/components/teleinfo/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,42 @@
|
|||
uart:
|
||||
- id: uart_teleinfo
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 1200
|
||||
parity: EVEN
|
||||
|
||||
button:
|
||||
- platform: template
|
||||
name: Poller component suspend test
|
||||
on_press:
|
||||
- component.suspend: test_teleinfo
|
||||
- delay: 20s
|
||||
- component.update: test_teleinfo
|
||||
- delay: 20s
|
||||
- component.resume: test_teleinfo
|
||||
- delay: 20s
|
||||
- component.resume:
|
||||
id: test_teleinfo
|
||||
update_interval: 2s
|
||||
- delay: 20s
|
||||
- component.resume:
|
||||
id: test_teleinfo
|
||||
update_interval: !lambda return 2500;
|
||||
|
||||
teleinfo:
|
||||
id: test_teleinfo
|
||||
historical_mode: true
|
||||
update_interval: 60s
|
||||
|
||||
sensor:
|
||||
- platform: teleinfo
|
||||
name: hchc
|
||||
tag_name: HCHC
|
||||
teleinfo_id: test_teleinfo
|
||||
unit_of_measurement: Wh
|
||||
|
||||
text_sensor:
|
||||
- platform: teleinfo
|
||||
name: optarif
|
||||
tag_name: OPTARIF
|
||||
teleinfo_id: test_teleinfo
|
42
tests/components/teleinfo/test.esp32-c3.yaml
Normal file
42
tests/components/teleinfo/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,42 @@
|
|||
uart:
|
||||
- id: uart_teleinfo
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 1200
|
||||
parity: EVEN
|
||||
|
||||
button:
|
||||
- platform: template
|
||||
name: Poller component suspend test
|
||||
on_press:
|
||||
- component.suspend: test_teleinfo
|
||||
- delay: 20s
|
||||
- component.update: test_teleinfo
|
||||
- delay: 20s
|
||||
- component.resume: test_teleinfo
|
||||
- delay: 20s
|
||||
- component.resume:
|
||||
id: test_teleinfo
|
||||
update_interval: 2s
|
||||
- delay: 20s
|
||||
- component.resume:
|
||||
id: test_teleinfo
|
||||
update_interval: !lambda return 2500;
|
||||
|
||||
teleinfo:
|
||||
id: test_teleinfo
|
||||
historical_mode: true
|
||||
update_interval: 60s
|
||||
|
||||
sensor:
|
||||
- platform: teleinfo
|
||||
name: hchc
|
||||
tag_name: HCHC
|
||||
teleinfo_id: test_teleinfo
|
||||
unit_of_measurement: Wh
|
||||
|
||||
text_sensor:
|
||||
- platform: teleinfo
|
||||
name: optarif
|
||||
tag_name: OPTARIF
|
||||
teleinfo_id: test_teleinfo
|
42
tests/components/teleinfo/test.esp32-idf.yaml
Normal file
42
tests/components/teleinfo/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,42 @@
|
|||
uart:
|
||||
- id: uart_teleinfo
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 1200
|
||||
parity: EVEN
|
||||
|
||||
button:
|
||||
- platform: template
|
||||
name: Poller component suspend test
|
||||
on_press:
|
||||
- component.suspend: test_teleinfo
|
||||
- delay: 20s
|
||||
- component.update: test_teleinfo
|
||||
- delay: 20s
|
||||
- component.resume: test_teleinfo
|
||||
- delay: 20s
|
||||
- component.resume:
|
||||
id: test_teleinfo
|
||||
update_interval: 2s
|
||||
- delay: 20s
|
||||
- component.resume:
|
||||
id: test_teleinfo
|
||||
update_interval: !lambda return 2500;
|
||||
|
||||
teleinfo:
|
||||
id: test_teleinfo
|
||||
historical_mode: true
|
||||
update_interval: 60s
|
||||
|
||||
sensor:
|
||||
- platform: teleinfo
|
||||
name: hchc
|
||||
tag_name: HCHC
|
||||
teleinfo_id: test_teleinfo
|
||||
unit_of_measurement: Wh
|
||||
|
||||
text_sensor:
|
||||
- platform: teleinfo
|
||||
name: optarif
|
||||
tag_name: OPTARIF
|
||||
teleinfo_id: test_teleinfo
|
42
tests/components/teleinfo/test.esp32.yaml
Normal file
42
tests/components/teleinfo/test.esp32.yaml
Normal file
|
@ -0,0 +1,42 @@
|
|||
uart:
|
||||
- id: uart_teleinfo
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 1200
|
||||
parity: EVEN
|
||||
|
||||
button:
|
||||
- platform: template
|
||||
name: Poller component suspend test
|
||||
on_press:
|
||||
- component.suspend: test_teleinfo
|
||||
- delay: 20s
|
||||
- component.update: test_teleinfo
|
||||
- delay: 20s
|
||||
- component.resume: test_teleinfo
|
||||
- delay: 20s
|
||||
- component.resume:
|
||||
id: test_teleinfo
|
||||
update_interval: 2s
|
||||
- delay: 20s
|
||||
- component.resume:
|
||||
id: test_teleinfo
|
||||
update_interval: !lambda return 2500;
|
||||
|
||||
teleinfo:
|
||||
id: test_teleinfo
|
||||
historical_mode: true
|
||||
update_interval: 60s
|
||||
|
||||
sensor:
|
||||
- platform: teleinfo
|
||||
name: hchc
|
||||
tag_name: HCHC
|
||||
teleinfo_id: test_teleinfo
|
||||
unit_of_measurement: Wh
|
||||
|
||||
text_sensor:
|
||||
- platform: teleinfo
|
||||
name: optarif
|
||||
tag_name: OPTARIF
|
||||
teleinfo_id: test_teleinfo
|
42
tests/components/teleinfo/test.esp8266.yaml
Normal file
42
tests/components/teleinfo/test.esp8266.yaml
Normal file
|
@ -0,0 +1,42 @@
|
|||
uart:
|
||||
- id: uart_teleinfo
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 1200
|
||||
parity: EVEN
|
||||
|
||||
button:
|
||||
- platform: template
|
||||
name: Poller component suspend test
|
||||
on_press:
|
||||
- component.suspend: test_teleinfo
|
||||
- delay: 20s
|
||||
- component.update: test_teleinfo
|
||||
- delay: 20s
|
||||
- component.resume: test_teleinfo
|
||||
- delay: 20s
|
||||
- component.resume:
|
||||
id: test_teleinfo
|
||||
update_interval: 2s
|
||||
- delay: 20s
|
||||
- component.resume:
|
||||
id: test_teleinfo
|
||||
update_interval: !lambda return 2500;
|
||||
|
||||
teleinfo:
|
||||
id: test_teleinfo
|
||||
historical_mode: true
|
||||
update_interval: 60s
|
||||
|
||||
sensor:
|
||||
- platform: teleinfo
|
||||
name: hchc
|
||||
tag_name: HCHC
|
||||
teleinfo_id: test_teleinfo
|
||||
unit_of_measurement: Wh
|
||||
|
||||
text_sensor:
|
||||
- platform: teleinfo
|
||||
name: optarif
|
||||
tag_name: OPTARIF
|
||||
teleinfo_id: test_teleinfo
|
42
tests/components/teleinfo/test.rp2040.yaml
Normal file
42
tests/components/teleinfo/test.rp2040.yaml
Normal file
|
@ -0,0 +1,42 @@
|
|||
uart:
|
||||
- id: uart_teleinfo
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 1200
|
||||
parity: EVEN
|
||||
|
||||
button:
|
||||
- platform: template
|
||||
name: Poller component suspend test
|
||||
on_press:
|
||||
- component.suspend: test_teleinfo
|
||||
- delay: 20s
|
||||
- component.update: test_teleinfo
|
||||
- delay: 20s
|
||||
- component.resume: test_teleinfo
|
||||
- delay: 20s
|
||||
- component.resume:
|
||||
id: test_teleinfo
|
||||
update_interval: 2s
|
||||
- delay: 20s
|
||||
- component.resume:
|
||||
id: test_teleinfo
|
||||
update_interval: !lambda return 2500;
|
||||
|
||||
teleinfo:
|
||||
id: test_teleinfo
|
||||
historical_mode: true
|
||||
update_interval: 60s
|
||||
|
||||
sensor:
|
||||
- platform: teleinfo
|
||||
name: hchc
|
||||
tag_name: HCHC
|
||||
teleinfo_id: test_teleinfo
|
||||
unit_of_measurement: Wh
|
||||
|
||||
text_sensor:
|
||||
- platform: teleinfo
|
||||
name: optarif
|
||||
tag_name: OPTARIF
|
||||
teleinfo_id: test_teleinfo
|
93
tests/components/thermostat/test.esp32-c3-idf.yaml
Normal file
93
tests/components/thermostat/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,93 @@
|
|||
sensor:
|
||||
- platform: template
|
||||
id: thermostat_sensor
|
||||
lambda: "return 21;"
|
||||
|
||||
climate:
|
||||
- platform: thermostat
|
||||
name: Test Thermostat
|
||||
sensor: thermostat_sensor
|
||||
humidity_sensor: thermostat_sensor
|
||||
preset:
|
||||
- name: Default Preset
|
||||
default_target_temperature_low: 18°C
|
||||
default_target_temperature_high: 24°C
|
||||
- name: Away
|
||||
default_target_temperature_low: 16°C
|
||||
default_target_temperature_high: 20°C
|
||||
idle_action:
|
||||
- logger.log: idle_action
|
||||
cool_action:
|
||||
- logger.log: cool_action
|
||||
supplemental_cooling_action:
|
||||
- logger.log: supplemental_cooling_action
|
||||
heat_action:
|
||||
- logger.log: heat_action
|
||||
supplemental_heating_action:
|
||||
- logger.log: supplemental_heating_action
|
||||
dry_action:
|
||||
- logger.log: dry_action
|
||||
fan_only_action:
|
||||
- logger.log: fan_only_action
|
||||
auto_mode:
|
||||
- logger.log: auto_mode
|
||||
off_mode:
|
||||
- logger.log: off_mode
|
||||
heat_mode:
|
||||
- logger.log: heat_mode
|
||||
cool_mode:
|
||||
- logger.log: cool_mode
|
||||
dry_mode:
|
||||
- logger.log: dry_mode
|
||||
fan_only_mode:
|
||||
- logger.log: fan_only_mode
|
||||
fan_mode_auto_action:
|
||||
- logger.log: fan_mode_auto_action
|
||||
fan_mode_on_action:
|
||||
- logger.log: fan_mode_on_action
|
||||
fan_mode_off_action:
|
||||
- logger.log: fan_mode_off_action
|
||||
fan_mode_low_action:
|
||||
- logger.log: fan_mode_low_action
|
||||
fan_mode_medium_action:
|
||||
- logger.log: fan_mode_medium_action
|
||||
fan_mode_high_action:
|
||||
- logger.log: fan_mode_high_action
|
||||
fan_mode_middle_action:
|
||||
- logger.log: fan_mode_middle_action
|
||||
fan_mode_focus_action:
|
||||
- logger.log: fan_mode_focus_action
|
||||
fan_mode_diffuse_action:
|
||||
- logger.log: fan_mode_diffuse_action
|
||||
fan_mode_quiet_action:
|
||||
- logger.log: fan_mode_quiet_action
|
||||
swing_off_action:
|
||||
- logger.log: swing_off_action
|
||||
swing_horizontal_action:
|
||||
- logger.log: swing_horizontal_action
|
||||
swing_vertical_action:
|
||||
- logger.log: swing_vertical_action
|
||||
swing_both_action:
|
||||
- logger.log: swing_both_action
|
||||
startup_delay: true
|
||||
supplemental_cooling_delta: 2.0
|
||||
cool_deadband: 0.5
|
||||
cool_overrun: 0.5
|
||||
min_cooling_off_time: 300s
|
||||
min_cooling_run_time: 300s
|
||||
max_cooling_run_time: 600s
|
||||
supplemental_heating_delta: 2.0
|
||||
heat_deadband: 0.5
|
||||
heat_overrun: 0.5
|
||||
min_heating_off_time: 300s
|
||||
min_heating_run_time: 300s
|
||||
max_heating_run_time: 600s
|
||||
min_fanning_off_time: 30s
|
||||
min_fanning_run_time: 30s
|
||||
min_fan_mode_switching_time: 15s
|
||||
min_idle_time: 30s
|
||||
set_point_minimum_differential: 0.5
|
||||
fan_only_action_uses_fan_mode_timer: true
|
||||
fan_only_cooling: true
|
||||
fan_with_cooling: true
|
||||
fan_with_heating: true
|
93
tests/components/thermostat/test.esp32-c3.yaml
Normal file
93
tests/components/thermostat/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,93 @@
|
|||
sensor:
|
||||
- platform: template
|
||||
id: thermostat_sensor
|
||||
lambda: "return 21;"
|
||||
|
||||
climate:
|
||||
- platform: thermostat
|
||||
name: Test Thermostat
|
||||
sensor: thermostat_sensor
|
||||
humidity_sensor: thermostat_sensor
|
||||
preset:
|
||||
- name: Default Preset
|
||||
default_target_temperature_low: 18°C
|
||||
default_target_temperature_high: 24°C
|
||||
- name: Away
|
||||
default_target_temperature_low: 16°C
|
||||
default_target_temperature_high: 20°C
|
||||
idle_action:
|
||||
- logger.log: idle_action
|
||||
cool_action:
|
||||
- logger.log: cool_action
|
||||
supplemental_cooling_action:
|
||||
- logger.log: supplemental_cooling_action
|
||||
heat_action:
|
||||
- logger.log: heat_action
|
||||
supplemental_heating_action:
|
||||
- logger.log: supplemental_heating_action
|
||||
dry_action:
|
||||
- logger.log: dry_action
|
||||
fan_only_action:
|
||||
- logger.log: fan_only_action
|
||||
auto_mode:
|
||||
- logger.log: auto_mode
|
||||
off_mode:
|
||||
- logger.log: off_mode
|
||||
heat_mode:
|
||||
- logger.log: heat_mode
|
||||
cool_mode:
|
||||
- logger.log: cool_mode
|
||||
dry_mode:
|
||||
- logger.log: dry_mode
|
||||
fan_only_mode:
|
||||
- logger.log: fan_only_mode
|
||||
fan_mode_auto_action:
|
||||
- logger.log: fan_mode_auto_action
|
||||
fan_mode_on_action:
|
||||
- logger.log: fan_mode_on_action
|
||||
fan_mode_off_action:
|
||||
- logger.log: fan_mode_off_action
|
||||
fan_mode_low_action:
|
||||
- logger.log: fan_mode_low_action
|
||||
fan_mode_medium_action:
|
||||
- logger.log: fan_mode_medium_action
|
||||
fan_mode_high_action:
|
||||
- logger.log: fan_mode_high_action
|
||||
fan_mode_middle_action:
|
||||
- logger.log: fan_mode_middle_action
|
||||
fan_mode_focus_action:
|
||||
- logger.log: fan_mode_focus_action
|
||||
fan_mode_diffuse_action:
|
||||
- logger.log: fan_mode_diffuse_action
|
||||
fan_mode_quiet_action:
|
||||
- logger.log: fan_mode_quiet_action
|
||||
swing_off_action:
|
||||
- logger.log: swing_off_action
|
||||
swing_horizontal_action:
|
||||
- logger.log: swing_horizontal_action
|
||||
swing_vertical_action:
|
||||
- logger.log: swing_vertical_action
|
||||
swing_both_action:
|
||||
- logger.log: swing_both_action
|
||||
startup_delay: true
|
||||
supplemental_cooling_delta: 2.0
|
||||
cool_deadband: 0.5
|
||||
cool_overrun: 0.5
|
||||
min_cooling_off_time: 300s
|
||||
min_cooling_run_time: 300s
|
||||
max_cooling_run_time: 600s
|
||||
supplemental_heating_delta: 2.0
|
||||
heat_deadband: 0.5
|
||||
heat_overrun: 0.5
|
||||
min_heating_off_time: 300s
|
||||
min_heating_run_time: 300s
|
||||
max_heating_run_time: 600s
|
||||
min_fanning_off_time: 30s
|
||||
min_fanning_run_time: 30s
|
||||
min_fan_mode_switching_time: 15s
|
||||
min_idle_time: 30s
|
||||
set_point_minimum_differential: 0.5
|
||||
fan_only_action_uses_fan_mode_timer: true
|
||||
fan_only_cooling: true
|
||||
fan_with_cooling: true
|
||||
fan_with_heating: true
|
93
tests/components/thermostat/test.esp32-idf.yaml
Normal file
93
tests/components/thermostat/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,93 @@
|
|||
sensor:
|
||||
- platform: template
|
||||
id: thermostat_sensor
|
||||
lambda: "return 21;"
|
||||
|
||||
climate:
|
||||
- platform: thermostat
|
||||
name: Test Thermostat
|
||||
sensor: thermostat_sensor
|
||||
humidity_sensor: thermostat_sensor
|
||||
preset:
|
||||
- name: Default Preset
|
||||
default_target_temperature_low: 18°C
|
||||
default_target_temperature_high: 24°C
|
||||
- name: Away
|
||||
default_target_temperature_low: 16°C
|
||||
default_target_temperature_high: 20°C
|
||||
idle_action:
|
||||
- logger.log: idle_action
|
||||
cool_action:
|
||||
- logger.log: cool_action
|
||||
supplemental_cooling_action:
|
||||
- logger.log: supplemental_cooling_action
|
||||
heat_action:
|
||||
- logger.log: heat_action
|
||||
supplemental_heating_action:
|
||||
- logger.log: supplemental_heating_action
|
||||
dry_action:
|
||||
- logger.log: dry_action
|
||||
fan_only_action:
|
||||
- logger.log: fan_only_action
|
||||
auto_mode:
|
||||
- logger.log: auto_mode
|
||||
off_mode:
|
||||
- logger.log: off_mode
|
||||
heat_mode:
|
||||
- logger.log: heat_mode
|
||||
cool_mode:
|
||||
- logger.log: cool_mode
|
||||
dry_mode:
|
||||
- logger.log: dry_mode
|
||||
fan_only_mode:
|
||||
- logger.log: fan_only_mode
|
||||
fan_mode_auto_action:
|
||||
- logger.log: fan_mode_auto_action
|
||||
fan_mode_on_action:
|
||||
- logger.log: fan_mode_on_action
|
||||
fan_mode_off_action:
|
||||
- logger.log: fan_mode_off_action
|
||||
fan_mode_low_action:
|
||||
- logger.log: fan_mode_low_action
|
||||
fan_mode_medium_action:
|
||||
- logger.log: fan_mode_medium_action
|
||||
fan_mode_high_action:
|
||||
- logger.log: fan_mode_high_action
|
||||
fan_mode_middle_action:
|
||||
- logger.log: fan_mode_middle_action
|
||||
fan_mode_focus_action:
|
||||
- logger.log: fan_mode_focus_action
|
||||
fan_mode_diffuse_action:
|
||||
- logger.log: fan_mode_diffuse_action
|
||||
fan_mode_quiet_action:
|
||||
- logger.log: fan_mode_quiet_action
|
||||
swing_off_action:
|
||||
- logger.log: swing_off_action
|
||||
swing_horizontal_action:
|
||||
- logger.log: swing_horizontal_action
|
||||
swing_vertical_action:
|
||||
- logger.log: swing_vertical_action
|
||||
swing_both_action:
|
||||
- logger.log: swing_both_action
|
||||
startup_delay: true
|
||||
supplemental_cooling_delta: 2.0
|
||||
cool_deadband: 0.5
|
||||
cool_overrun: 0.5
|
||||
min_cooling_off_time: 300s
|
||||
min_cooling_run_time: 300s
|
||||
max_cooling_run_time: 600s
|
||||
supplemental_heating_delta: 2.0
|
||||
heat_deadband: 0.5
|
||||
heat_overrun: 0.5
|
||||
min_heating_off_time: 300s
|
||||
min_heating_run_time: 300s
|
||||
max_heating_run_time: 600s
|
||||
min_fanning_off_time: 30s
|
||||
min_fanning_run_time: 30s
|
||||
min_fan_mode_switching_time: 15s
|
||||
min_idle_time: 30s
|
||||
set_point_minimum_differential: 0.5
|
||||
fan_only_action_uses_fan_mode_timer: true
|
||||
fan_only_cooling: true
|
||||
fan_with_cooling: true
|
||||
fan_with_heating: true
|
93
tests/components/thermostat/test.esp32.yaml
Normal file
93
tests/components/thermostat/test.esp32.yaml
Normal file
|
@ -0,0 +1,93 @@
|
|||
sensor:
|
||||
- platform: template
|
||||
id: thermostat_sensor
|
||||
lambda: "return 21;"
|
||||
|
||||
climate:
|
||||
- platform: thermostat
|
||||
name: Test Thermostat
|
||||
sensor: thermostat_sensor
|
||||
humidity_sensor: thermostat_sensor
|
||||
preset:
|
||||
- name: Default Preset
|
||||
default_target_temperature_low: 18°C
|
||||
default_target_temperature_high: 24°C
|
||||
- name: Away
|
||||
default_target_temperature_low: 16°C
|
||||
default_target_temperature_high: 20°C
|
||||
idle_action:
|
||||
- logger.log: idle_action
|
||||
cool_action:
|
||||
- logger.log: cool_action
|
||||
supplemental_cooling_action:
|
||||
- logger.log: supplemental_cooling_action
|
||||
heat_action:
|
||||
- logger.log: heat_action
|
||||
supplemental_heating_action:
|
||||
- logger.log: supplemental_heating_action
|
||||
dry_action:
|
||||
- logger.log: dry_action
|
||||
fan_only_action:
|
||||
- logger.log: fan_only_action
|
||||
auto_mode:
|
||||
- logger.log: auto_mode
|
||||
off_mode:
|
||||
- logger.log: off_mode
|
||||
heat_mode:
|
||||
- logger.log: heat_mode
|
||||
cool_mode:
|
||||
- logger.log: cool_mode
|
||||
dry_mode:
|
||||
- logger.log: dry_mode
|
||||
fan_only_mode:
|
||||
- logger.log: fan_only_mode
|
||||
fan_mode_auto_action:
|
||||
- logger.log: fan_mode_auto_action
|
||||
fan_mode_on_action:
|
||||
- logger.log: fan_mode_on_action
|
||||
fan_mode_off_action:
|
||||
- logger.log: fan_mode_off_action
|
||||
fan_mode_low_action:
|
||||
- logger.log: fan_mode_low_action
|
||||
fan_mode_medium_action:
|
||||
- logger.log: fan_mode_medium_action
|
||||
fan_mode_high_action:
|
||||
- logger.log: fan_mode_high_action
|
||||
fan_mode_middle_action:
|
||||
- logger.log: fan_mode_middle_action
|
||||
fan_mode_focus_action:
|
||||
- logger.log: fan_mode_focus_action
|
||||
fan_mode_diffuse_action:
|
||||
- logger.log: fan_mode_diffuse_action
|
||||
fan_mode_quiet_action:
|
||||
- logger.log: fan_mode_quiet_action
|
||||
swing_off_action:
|
||||
- logger.log: swing_off_action
|
||||
swing_horizontal_action:
|
||||
- logger.log: swing_horizontal_action
|
||||
swing_vertical_action:
|
||||
- logger.log: swing_vertical_action
|
||||
swing_both_action:
|
||||
- logger.log: swing_both_action
|
||||
startup_delay: true
|
||||
supplemental_cooling_delta: 2.0
|
||||
cool_deadband: 0.5
|
||||
cool_overrun: 0.5
|
||||
min_cooling_off_time: 300s
|
||||
min_cooling_run_time: 300s
|
||||
max_cooling_run_time: 600s
|
||||
supplemental_heating_delta: 2.0
|
||||
heat_deadband: 0.5
|
||||
heat_overrun: 0.5
|
||||
min_heating_off_time: 300s
|
||||
min_heating_run_time: 300s
|
||||
max_heating_run_time: 600s
|
||||
min_fanning_off_time: 30s
|
||||
min_fanning_run_time: 30s
|
||||
min_fan_mode_switching_time: 15s
|
||||
min_idle_time: 30s
|
||||
set_point_minimum_differential: 0.5
|
||||
fan_only_action_uses_fan_mode_timer: true
|
||||
fan_only_cooling: true
|
||||
fan_with_cooling: true
|
||||
fan_with_heating: true
|
93
tests/components/thermostat/test.esp8266.yaml
Normal file
93
tests/components/thermostat/test.esp8266.yaml
Normal file
|
@ -0,0 +1,93 @@
|
|||
sensor:
|
||||
- platform: template
|
||||
id: thermostat_sensor
|
||||
lambda: "return 21;"
|
||||
|
||||
climate:
|
||||
- platform: thermostat
|
||||
name: Test Thermostat
|
||||
sensor: thermostat_sensor
|
||||
humidity_sensor: thermostat_sensor
|
||||
preset:
|
||||
- name: Default Preset
|
||||
default_target_temperature_low: 18°C
|
||||
default_target_temperature_high: 24°C
|
||||
- name: Away
|
||||
default_target_temperature_low: 16°C
|
||||
default_target_temperature_high: 20°C
|
||||
idle_action:
|
||||
- logger.log: idle_action
|
||||
cool_action:
|
||||
- logger.log: cool_action
|
||||
supplemental_cooling_action:
|
||||
- logger.log: supplemental_cooling_action
|
||||
heat_action:
|
||||
- logger.log: heat_action
|
||||
supplemental_heating_action:
|
||||
- logger.log: supplemental_heating_action
|
||||
dry_action:
|
||||
- logger.log: dry_action
|
||||
fan_only_action:
|
||||
- logger.log: fan_only_action
|
||||
auto_mode:
|
||||
- logger.log: auto_mode
|
||||
off_mode:
|
||||
- logger.log: off_mode
|
||||
heat_mode:
|
||||
- logger.log: heat_mode
|
||||
cool_mode:
|
||||
- logger.log: cool_mode
|
||||
dry_mode:
|
||||
- logger.log: dry_mode
|
||||
fan_only_mode:
|
||||
- logger.log: fan_only_mode
|
||||
fan_mode_auto_action:
|
||||
- logger.log: fan_mode_auto_action
|
||||
fan_mode_on_action:
|
||||
- logger.log: fan_mode_on_action
|
||||
fan_mode_off_action:
|
||||
- logger.log: fan_mode_off_action
|
||||
fan_mode_low_action:
|
||||
- logger.log: fan_mode_low_action
|
||||
fan_mode_medium_action:
|
||||
- logger.log: fan_mode_medium_action
|
||||
fan_mode_high_action:
|
||||
- logger.log: fan_mode_high_action
|
||||
fan_mode_middle_action:
|
||||
- logger.log: fan_mode_middle_action
|
||||
fan_mode_focus_action:
|
||||
- logger.log: fan_mode_focus_action
|
||||
fan_mode_diffuse_action:
|
||||
- logger.log: fan_mode_diffuse_action
|
||||
fan_mode_quiet_action:
|
||||
- logger.log: fan_mode_quiet_action
|
||||
swing_off_action:
|
||||
- logger.log: swing_off_action
|
||||
swing_horizontal_action:
|
||||
- logger.log: swing_horizontal_action
|
||||
swing_vertical_action:
|
||||
- logger.log: swing_vertical_action
|
||||
swing_both_action:
|
||||
- logger.log: swing_both_action
|
||||
startup_delay: true
|
||||
supplemental_cooling_delta: 2.0
|
||||
cool_deadband: 0.5
|
||||
cool_overrun: 0.5
|
||||
min_cooling_off_time: 300s
|
||||
min_cooling_run_time: 300s
|
||||
max_cooling_run_time: 600s
|
||||
supplemental_heating_delta: 2.0
|
||||
heat_deadband: 0.5
|
||||
heat_overrun: 0.5
|
||||
min_heating_off_time: 300s
|
||||
min_heating_run_time: 300s
|
||||
max_heating_run_time: 600s
|
||||
min_fanning_off_time: 30s
|
||||
min_fanning_run_time: 30s
|
||||
min_fan_mode_switching_time: 15s
|
||||
min_idle_time: 30s
|
||||
set_point_minimum_differential: 0.5
|
||||
fan_only_action_uses_fan_mode_timer: true
|
||||
fan_only_cooling: true
|
||||
fan_with_cooling: true
|
||||
fan_with_heating: true
|
93
tests/components/thermostat/test.rp2040.yaml
Normal file
93
tests/components/thermostat/test.rp2040.yaml
Normal file
|
@ -0,0 +1,93 @@
|
|||
sensor:
|
||||
- platform: template
|
||||
id: thermostat_sensor
|
||||
lambda: "return 21;"
|
||||
|
||||
climate:
|
||||
- platform: thermostat
|
||||
name: Test Thermostat
|
||||
sensor: thermostat_sensor
|
||||
humidity_sensor: thermostat_sensor
|
||||
preset:
|
||||
- name: Default Preset
|
||||
default_target_temperature_low: 18°C
|
||||
default_target_temperature_high: 24°C
|
||||
- name: Away
|
||||
default_target_temperature_low: 16°C
|
||||
default_target_temperature_high: 20°C
|
||||
idle_action:
|
||||
- logger.log: idle_action
|
||||
cool_action:
|
||||
- logger.log: cool_action
|
||||
supplemental_cooling_action:
|
||||
- logger.log: supplemental_cooling_action
|
||||
heat_action:
|
||||
- logger.log: heat_action
|
||||
supplemental_heating_action:
|
||||
- logger.log: supplemental_heating_action
|
||||
dry_action:
|
||||
- logger.log: dry_action
|
||||
fan_only_action:
|
||||
- logger.log: fan_only_action
|
||||
auto_mode:
|
||||
- logger.log: auto_mode
|
||||
off_mode:
|
||||
- logger.log: off_mode
|
||||
heat_mode:
|
||||
- logger.log: heat_mode
|
||||
cool_mode:
|
||||
- logger.log: cool_mode
|
||||
dry_mode:
|
||||
- logger.log: dry_mode
|
||||
fan_only_mode:
|
||||
- logger.log: fan_only_mode
|
||||
fan_mode_auto_action:
|
||||
- logger.log: fan_mode_auto_action
|
||||
fan_mode_on_action:
|
||||
- logger.log: fan_mode_on_action
|
||||
fan_mode_off_action:
|
||||
- logger.log: fan_mode_off_action
|
||||
fan_mode_low_action:
|
||||
- logger.log: fan_mode_low_action
|
||||
fan_mode_medium_action:
|
||||
- logger.log: fan_mode_medium_action
|
||||
fan_mode_high_action:
|
||||
- logger.log: fan_mode_high_action
|
||||
fan_mode_middle_action:
|
||||
- logger.log: fan_mode_middle_action
|
||||
fan_mode_focus_action:
|
||||
- logger.log: fan_mode_focus_action
|
||||
fan_mode_diffuse_action:
|
||||
- logger.log: fan_mode_diffuse_action
|
||||
fan_mode_quiet_action:
|
||||
- logger.log: fan_mode_quiet_action
|
||||
swing_off_action:
|
||||
- logger.log: swing_off_action
|
||||
swing_horizontal_action:
|
||||
- logger.log: swing_horizontal_action
|
||||
swing_vertical_action:
|
||||
- logger.log: swing_vertical_action
|
||||
swing_both_action:
|
||||
- logger.log: swing_both_action
|
||||
startup_delay: true
|
||||
supplemental_cooling_delta: 2.0
|
||||
cool_deadband: 0.5
|
||||
cool_overrun: 0.5
|
||||
min_cooling_off_time: 300s
|
||||
min_cooling_run_time: 300s
|
||||
max_cooling_run_time: 600s
|
||||
supplemental_heating_delta: 2.0
|
||||
heat_deadband: 0.5
|
||||
heat_overrun: 0.5
|
||||
min_heating_off_time: 300s
|
||||
min_heating_run_time: 300s
|
||||
max_heating_run_time: 600s
|
||||
min_fanning_off_time: 30s
|
||||
min_fanning_run_time: 30s
|
||||
min_fan_mode_switching_time: 15s
|
||||
min_idle_time: 30s
|
||||
set_point_minimum_differential: 0.5
|
||||
fan_only_action_uses_fan_mode_timer: true
|
||||
fan_only_cooling: true
|
||||
fan_with_cooling: true
|
||||
fan_with_heating: true
|
10
tests/components/time/test.esp32-c3-idf.yaml
Normal file
10
tests/components/time/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
api:
|
||||
|
||||
time:
|
||||
- platform: homeassistant
|
||||
- platform: sntp
|
||||
id: sntp_time
|
10
tests/components/time/test.esp32-c3.yaml
Normal file
10
tests/components/time/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
api:
|
||||
|
||||
time:
|
||||
- platform: homeassistant
|
||||
- platform: sntp
|
||||
id: sntp_time
|
10
tests/components/time/test.esp32-idf.yaml
Normal file
10
tests/components/time/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
api:
|
||||
|
||||
time:
|
||||
- platform: homeassistant
|
||||
- platform: sntp
|
||||
id: sntp_time
|
10
tests/components/time/test.esp32.yaml
Normal file
10
tests/components/time/test.esp32.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
api:
|
||||
|
||||
time:
|
||||
- platform: homeassistant
|
||||
- platform: sntp
|
||||
id: sntp_time
|
10
tests/components/time/test.esp8266.yaml
Normal file
10
tests/components/time/test.esp8266.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
api:
|
||||
|
||||
time:
|
||||
- platform: homeassistant
|
||||
- platform: sntp
|
||||
id: sntp_time
|
10
tests/components/time/test.rp2040.yaml
Normal file
10
tests/components/time/test.rp2040.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
api:
|
||||
|
||||
time:
|
||||
- platform: homeassistant
|
||||
- platform: sntp
|
||||
id: sntp_time
|
12
tests/components/time_based/test.esp32-c3-idf.yaml
Normal file
12
tests/components/time_based/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
cover:
|
||||
- platform: time_based
|
||||
name: Time Based Cover
|
||||
id: time_based_cover
|
||||
stop_action:
|
||||
- logger.log: stop_action
|
||||
open_action:
|
||||
- logger.log: open_action
|
||||
open_duration: 5min
|
||||
close_action:
|
||||
- logger.log: close_action
|
||||
close_duration: 4.5min
|
12
tests/components/time_based/test.esp32-c3.yaml
Normal file
12
tests/components/time_based/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
cover:
|
||||
- platform: time_based
|
||||
name: Time Based Cover
|
||||
id: time_based_cover
|
||||
stop_action:
|
||||
- logger.log: stop_action
|
||||
open_action:
|
||||
- logger.log: open_action
|
||||
open_duration: 5min
|
||||
close_action:
|
||||
- logger.log: close_action
|
||||
close_duration: 4.5min
|
12
tests/components/time_based/test.esp32-idf.yaml
Normal file
12
tests/components/time_based/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
cover:
|
||||
- platform: time_based
|
||||
name: Time Based Cover
|
||||
id: time_based_cover
|
||||
stop_action:
|
||||
- logger.log: stop_action
|
||||
open_action:
|
||||
- logger.log: open_action
|
||||
open_duration: 5min
|
||||
close_action:
|
||||
- logger.log: close_action
|
||||
close_duration: 4.5min
|
12
tests/components/time_based/test.esp32.yaml
Normal file
12
tests/components/time_based/test.esp32.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
cover:
|
||||
- platform: time_based
|
||||
name: Time Based Cover
|
||||
id: time_based_cover
|
||||
stop_action:
|
||||
- logger.log: stop_action
|
||||
open_action:
|
||||
- logger.log: open_action
|
||||
open_duration: 5min
|
||||
close_action:
|
||||
- logger.log: close_action
|
||||
close_duration: 4.5min
|
12
tests/components/time_based/test.esp8266.yaml
Normal file
12
tests/components/time_based/test.esp8266.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
cover:
|
||||
- platform: time_based
|
||||
name: Time Based Cover
|
||||
id: time_based_cover
|
||||
stop_action:
|
||||
- logger.log: stop_action
|
||||
open_action:
|
||||
- logger.log: open_action
|
||||
open_duration: 5min
|
||||
close_action:
|
||||
- logger.log: close_action
|
||||
close_duration: 4.5min
|
12
tests/components/time_based/test.rp2040.yaml
Normal file
12
tests/components/time_based/test.rp2040.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
cover:
|
||||
- platform: time_based
|
||||
name: Time Based Cover
|
||||
id: time_based_cover
|
||||
stop_action:
|
||||
- logger.log: stop_action
|
||||
open_action:
|
||||
- logger.log: open_action
|
||||
open_duration: 5min
|
||||
close_action:
|
||||
- logger.log: close_action
|
||||
close_duration: 4.5min
|
50
tests/components/tlc59208f/test.esp32-c3-idf.yaml
Normal file
50
tests/components/tlc59208f/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,50 @@
|
|||
i2c:
|
||||
- id: i2c_tlc59208f
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
tlc59208f:
|
||||
- address: 0x20
|
||||
id: tlc59208f_1
|
||||
- address: 0x22
|
||||
id: tlc59208f_2
|
||||
- address: 0x24
|
||||
id: tlc59208f_3
|
||||
|
||||
output:
|
||||
- platform: tlc59208f
|
||||
id: tlc_0
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_1
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_2
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_3
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_4
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_5
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_6
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_3
|
||||
- platform: tlc59208f
|
||||
id: tlc_7
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_3
|
||||
- platform: tlc59208f
|
||||
id: tlc_8
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_3
|
50
tests/components/tlc59208f/test.esp32-c3.yaml
Normal file
50
tests/components/tlc59208f/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,50 @@
|
|||
i2c:
|
||||
- id: i2c_tlc59208f
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
tlc59208f:
|
||||
- address: 0x20
|
||||
id: tlc59208f_1
|
||||
- address: 0x22
|
||||
id: tlc59208f_2
|
||||
- address: 0x24
|
||||
id: tlc59208f_3
|
||||
|
||||
output:
|
||||
- platform: tlc59208f
|
||||
id: tlc_0
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_1
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_2
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_3
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_4
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_5
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_6
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_3
|
||||
- platform: tlc59208f
|
||||
id: tlc_7
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_3
|
||||
- platform: tlc59208f
|
||||
id: tlc_8
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_3
|
50
tests/components/tlc59208f/test.esp32-idf.yaml
Normal file
50
tests/components/tlc59208f/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,50 @@
|
|||
i2c:
|
||||
- id: i2c_tlc59208f
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
tlc59208f:
|
||||
- address: 0x20
|
||||
id: tlc59208f_1
|
||||
- address: 0x22
|
||||
id: tlc59208f_2
|
||||
- address: 0x24
|
||||
id: tlc59208f_3
|
||||
|
||||
output:
|
||||
- platform: tlc59208f
|
||||
id: tlc_0
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_1
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_2
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_3
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_4
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_5
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_6
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_3
|
||||
- platform: tlc59208f
|
||||
id: tlc_7
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_3
|
||||
- platform: tlc59208f
|
||||
id: tlc_8
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_3
|
50
tests/components/tlc59208f/test.esp32.yaml
Normal file
50
tests/components/tlc59208f/test.esp32.yaml
Normal file
|
@ -0,0 +1,50 @@
|
|||
i2c:
|
||||
- id: i2c_tlc59208f
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
tlc59208f:
|
||||
- address: 0x20
|
||||
id: tlc59208f_1
|
||||
- address: 0x22
|
||||
id: tlc59208f_2
|
||||
- address: 0x24
|
||||
id: tlc59208f_3
|
||||
|
||||
output:
|
||||
- platform: tlc59208f
|
||||
id: tlc_0
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_1
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_2
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_3
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_4
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_5
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_6
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_3
|
||||
- platform: tlc59208f
|
||||
id: tlc_7
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_3
|
||||
- platform: tlc59208f
|
||||
id: tlc_8
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_3
|
50
tests/components/tlc59208f/test.esp8266.yaml
Normal file
50
tests/components/tlc59208f/test.esp8266.yaml
Normal file
|
@ -0,0 +1,50 @@
|
|||
i2c:
|
||||
- id: i2c_tlc59208f
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
tlc59208f:
|
||||
- address: 0x20
|
||||
id: tlc59208f_1
|
||||
- address: 0x22
|
||||
id: tlc59208f_2
|
||||
- address: 0x24
|
||||
id: tlc59208f_3
|
||||
|
||||
output:
|
||||
- platform: tlc59208f
|
||||
id: tlc_0
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_1
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_2
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_3
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_4
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_5
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_6
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_3
|
||||
- platform: tlc59208f
|
||||
id: tlc_7
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_3
|
||||
- platform: tlc59208f
|
||||
id: tlc_8
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_3
|
50
tests/components/tlc59208f/test.rp2040.yaml
Normal file
50
tests/components/tlc59208f/test.rp2040.yaml
Normal file
|
@ -0,0 +1,50 @@
|
|||
i2c:
|
||||
- id: i2c_tlc59208f
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
tlc59208f:
|
||||
- address: 0x20
|
||||
id: tlc59208f_1
|
||||
- address: 0x22
|
||||
id: tlc59208f_2
|
||||
- address: 0x24
|
||||
id: tlc59208f_3
|
||||
|
||||
output:
|
||||
- platform: tlc59208f
|
||||
id: tlc_0
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_1
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_2
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_1
|
||||
- platform: tlc59208f
|
||||
id: tlc_3
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_4
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_5
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_2
|
||||
- platform: tlc59208f
|
||||
id: tlc_6
|
||||
channel: 0
|
||||
tlc59208f_id: tlc59208f_3
|
||||
- platform: tlc59208f
|
||||
id: tlc_7
|
||||
channel: 1
|
||||
tlc59208f_id: tlc59208f_3
|
||||
- platform: tlc59208f
|
||||
id: tlc_8
|
||||
channel: 2
|
||||
tlc59208f_id: tlc59208f_3
|
12
tests/components/tm1621/test.esp32-c3-idf.yaml
Normal file
12
tests/components/tm1621/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
display:
|
||||
- platform: tm1621
|
||||
id: tm1621_display
|
||||
cs_pin: 7
|
||||
data_pin: 4
|
||||
read_pin: 5
|
||||
write_pin: 6
|
||||
lambda: |-
|
||||
it.printf(0, "%.1f", 20.0);
|
||||
it.display_celsius(true);
|
||||
it.printf(1, "%.1f", 20.0);
|
||||
it.display_humidity(true);
|
12
tests/components/tm1621/test.esp32-c3.yaml
Normal file
12
tests/components/tm1621/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
display:
|
||||
- platform: tm1621
|
||||
id: tm1621_display
|
||||
cs_pin: 7
|
||||
data_pin: 4
|
||||
read_pin: 5
|
||||
write_pin: 6
|
||||
lambda: |-
|
||||
it.printf(0, "%.1f", 20.0);
|
||||
it.display_celsius(true);
|
||||
it.printf(1, "%.1f", 20.0);
|
||||
it.display_humidity(true);
|
12
tests/components/tm1621/test.esp32-idf.yaml
Normal file
12
tests/components/tm1621/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
display:
|
||||
- platform: tm1621
|
||||
id: tm1621_display
|
||||
cs_pin: 15
|
||||
data_pin: 14
|
||||
read_pin: 12
|
||||
write_pin: 13
|
||||
lambda: |-
|
||||
it.printf(0, "%.1f", 20.0);
|
||||
it.display_celsius(true);
|
||||
it.printf(1, "%.1f", 20.0);
|
||||
it.display_humidity(true);
|
12
tests/components/tm1621/test.esp32.yaml
Normal file
12
tests/components/tm1621/test.esp32.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
display:
|
||||
- platform: tm1621
|
||||
id: tm1621_display
|
||||
cs_pin: 15
|
||||
data_pin: 14
|
||||
read_pin: 12
|
||||
write_pin: 13
|
||||
lambda: |-
|
||||
it.printf(0, "%.1f", 20.0);
|
||||
it.display_celsius(true);
|
||||
it.printf(1, "%.1f", 20.0);
|
||||
it.display_humidity(true);
|
12
tests/components/tm1621/test.esp8266.yaml
Normal file
12
tests/components/tm1621/test.esp8266.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
display:
|
||||
- platform: tm1621
|
||||
id: tm1621_display
|
||||
cs_pin: 15
|
||||
data_pin: 14
|
||||
read_pin: 12
|
||||
write_pin: 13
|
||||
lambda: |-
|
||||
it.printf(0, "%.1f", 20.0);
|
||||
it.display_celsius(true);
|
||||
it.printf(1, "%.1f", 20.0);
|
||||
it.display_humidity(true);
|
12
tests/components/tm1621/test.rp2040.yaml
Normal file
12
tests/components/tm1621/test.rp2040.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
display:
|
||||
- platform: tm1621
|
||||
id: tm1621_display
|
||||
cs_pin: 7
|
||||
data_pin: 4
|
||||
read_pin: 5
|
||||
write_pin: 6
|
||||
lambda: |-
|
||||
it.printf(0, "%.1f", 20.0);
|
||||
it.display_celsius(true);
|
||||
it.printf(1, "%.1f", 20.0);
|
||||
it.display_humidity(true);
|
7
tests/components/tm1637/test.esp32-c3-idf.yaml
Normal file
7
tests/components/tm1637/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
display:
|
||||
- platform: tm1637
|
||||
clk_pin: 5
|
||||
dio_pin: 4
|
||||
intensity: 3
|
||||
lambda: |-
|
||||
it.print("1234");
|
7
tests/components/tm1637/test.esp32-c3.yaml
Normal file
7
tests/components/tm1637/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
display:
|
||||
- platform: tm1637
|
||||
clk_pin: 5
|
||||
dio_pin: 4
|
||||
intensity: 3
|
||||
lambda: |-
|
||||
it.print("1234");
|
7
tests/components/tm1637/test.esp32-idf.yaml
Normal file
7
tests/components/tm1637/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
display:
|
||||
- platform: tm1637
|
||||
clk_pin: 15
|
||||
dio_pin: 14
|
||||
intensity: 3
|
||||
lambda: |-
|
||||
it.print("1234");
|
7
tests/components/tm1637/test.esp32.yaml
Normal file
7
tests/components/tm1637/test.esp32.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
display:
|
||||
- platform: tm1637
|
||||
clk_pin: 15
|
||||
dio_pin: 14
|
||||
intensity: 3
|
||||
lambda: |-
|
||||
it.print("1234");
|
7
tests/components/tm1637/test.esp8266.yaml
Normal file
7
tests/components/tm1637/test.esp8266.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
display:
|
||||
- platform: tm1637
|
||||
clk_pin: 5
|
||||
dio_pin: 4
|
||||
intensity: 3
|
||||
lambda: |-
|
||||
it.print("1234");
|
7
tests/components/tm1637/test.rp2040.yaml
Normal file
7
tests/components/tm1637/test.rp2040.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
display:
|
||||
- platform: tm1637
|
||||
clk_pin: 5
|
||||
dio_pin: 4
|
||||
intensity: 3
|
||||
lambda: |-
|
||||
it.print("1234");
|
118
tests/components/tm1638/test.esp32-c3-idf.yaml
Normal file
118
tests/components/tm1638/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,118 @@
|
|||
display:
|
||||
- platform: tm1638
|
||||
id: tm1638_display
|
||||
stb_pin: 2
|
||||
clk_pin: 5
|
||||
dio_pin: 4
|
||||
update_interval: 5s
|
||||
intensity: 5
|
||||
lambda: |-
|
||||
it.print("81818181");
|
||||
|
||||
binary_sensor:
|
||||
- platform: tm1638
|
||||
id: Button0
|
||||
key: 0
|
||||
filters:
|
||||
- delayed_on: 10ms
|
||||
on_press:
|
||||
then:
|
||||
- switch.turn_on: Led0
|
||||
on_release:
|
||||
then:
|
||||
- switch.turn_off: Led0
|
||||
- platform: tm1638
|
||||
id: Button1
|
||||
key: 1
|
||||
on_press:
|
||||
then:
|
||||
- switch.turn_on: Led1
|
||||
on_release:
|
||||
then:
|
||||
- switch.turn_off: Led1
|
||||
- platform: tm1638
|
||||
id: Button2
|
||||
key: 2
|
||||
on_press:
|
||||
then:
|
||||
- switch.turn_on: Led2
|
||||
on_release:
|
||||
then:
|
||||
- switch.turn_off: Led2
|
||||
- platform: tm1638
|
||||
id: Button3
|
||||
key: 3
|
||||
on_press:
|
||||
then:
|
||||
- switch.turn_on: Led3
|
||||
on_release:
|
||||
then:
|
||||
- switch.turn_off: Led3
|
||||
- platform: tm1638
|
||||
id: Button4
|
||||
key: 4
|
||||
on_press:
|
||||
then:
|
||||
- output.turn_on: Led4
|
||||
on_release:
|
||||
then:
|
||||
- output.turn_off: Led4
|
||||
- platform: tm1638
|
||||
id: Button5
|
||||
key: 5
|
||||
on_press:
|
||||
then:
|
||||
- output.turn_on: Led5
|
||||
on_release:
|
||||
then:
|
||||
- output.turn_off: Led5
|
||||
- platform: tm1638
|
||||
id: Button6
|
||||
key: 6
|
||||
on_press:
|
||||
then:
|
||||
- output.turn_on: Led6
|
||||
on_release:
|
||||
then:
|
||||
- output.turn_off: Led6
|
||||
- platform: tm1638
|
||||
id: Button7
|
||||
key: 7
|
||||
on_press:
|
||||
then:
|
||||
- output.turn_on: Led7
|
||||
on_release:
|
||||
then:
|
||||
- output.turn_off: Led7
|
||||
|
||||
switch:
|
||||
- platform: tm1638
|
||||
id: Led0
|
||||
led: 0
|
||||
name: TM1638Led0
|
||||
- platform: tm1638
|
||||
id: Led1
|
||||
led: 1
|
||||
name: TM1638Led1
|
||||
- platform: tm1638
|
||||
id: Led2
|
||||
led: 2
|
||||
name: TM1638Led2
|
||||
- platform: tm1638
|
||||
id: Led3
|
||||
led: 3
|
||||
name: TM1638Led3
|
||||
|
||||
output:
|
||||
- platform: tm1638
|
||||
id: Led4
|
||||
led: 4
|
||||
- platform: tm1638
|
||||
id: Led5
|
||||
led: 5
|
||||
- platform: tm1638
|
||||
id: Led6
|
||||
led: 6
|
||||
- platform: tm1638
|
||||
id: Led7
|
||||
led: 7
|
118
tests/components/tm1638/test.esp32-c3.yaml
Normal file
118
tests/components/tm1638/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,118 @@
|
|||
display:
|
||||
- platform: tm1638
|
||||
id: tm1638_display
|
||||
stb_pin: 2
|
||||
clk_pin: 5
|
||||
dio_pin: 4
|
||||
update_interval: 5s
|
||||
intensity: 5
|
||||
lambda: |-
|
||||
it.print("81818181");
|
||||
|
||||
binary_sensor:
|
||||
- platform: tm1638
|
||||
id: Button0
|
||||
key: 0
|
||||
filters:
|
||||
- delayed_on: 10ms
|
||||
on_press:
|
||||
then:
|
||||
- switch.turn_on: Led0
|
||||
on_release:
|
||||
then:
|
||||
- switch.turn_off: Led0
|
||||
- platform: tm1638
|
||||
id: Button1
|
||||
key: 1
|
||||
on_press:
|
||||
then:
|
||||
- switch.turn_on: Led1
|
||||
on_release:
|
||||
then:
|
||||
- switch.turn_off: Led1
|
||||
- platform: tm1638
|
||||
id: Button2
|
||||
key: 2
|
||||
on_press:
|
||||
then:
|
||||
- switch.turn_on: Led2
|
||||
on_release:
|
||||
then:
|
||||
- switch.turn_off: Led2
|
||||
- platform: tm1638
|
||||
id: Button3
|
||||
key: 3
|
||||
on_press:
|
||||
then:
|
||||
- switch.turn_on: Led3
|
||||
on_release:
|
||||
then:
|
||||
- switch.turn_off: Led3
|
||||
- platform: tm1638
|
||||
id: Button4
|
||||
key: 4
|
||||
on_press:
|
||||
then:
|
||||
- output.turn_on: Led4
|
||||
on_release:
|
||||
then:
|
||||
- output.turn_off: Led4
|
||||
- platform: tm1638
|
||||
id: Button5
|
||||
key: 5
|
||||
on_press:
|
||||
then:
|
||||
- output.turn_on: Led5
|
||||
on_release:
|
||||
then:
|
||||
- output.turn_off: Led5
|
||||
- platform: tm1638
|
||||
id: Button6
|
||||
key: 6
|
||||
on_press:
|
||||
then:
|
||||
- output.turn_on: Led6
|
||||
on_release:
|
||||
then:
|
||||
- output.turn_off: Led6
|
||||
- platform: tm1638
|
||||
id: Button7
|
||||
key: 7
|
||||
on_press:
|
||||
then:
|
||||
- output.turn_on: Led7
|
||||
on_release:
|
||||
then:
|
||||
- output.turn_off: Led7
|
||||
|
||||
switch:
|
||||
- platform: tm1638
|
||||
id: Led0
|
||||
led: 0
|
||||
name: TM1638Led0
|
||||
- platform: tm1638
|
||||
id: Led1
|
||||
led: 1
|
||||
name: TM1638Led1
|
||||
- platform: tm1638
|
||||
id: Led2
|
||||
led: 2
|
||||
name: TM1638Led2
|
||||
- platform: tm1638
|
||||
id: Led3
|
||||
led: 3
|
||||
name: TM1638Led3
|
||||
|
||||
output:
|
||||
- platform: tm1638
|
||||
id: Led4
|
||||
led: 4
|
||||
- platform: tm1638
|
||||
id: Led5
|
||||
led: 5
|
||||
- platform: tm1638
|
||||
id: Led6
|
||||
led: 6
|
||||
- platform: tm1638
|
||||
id: Led7
|
||||
led: 7
|
118
tests/components/tm1638/test.esp32-idf.yaml
Normal file
118
tests/components/tm1638/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,118 @@
|
|||
display:
|
||||
- platform: tm1638
|
||||
id: tm1638_display
|
||||
stb_pin: 2
|
||||
clk_pin: 5
|
||||
dio_pin: 4
|
||||
update_interval: 5s
|
||||
intensity: 5
|
||||
lambda: |-
|
||||
it.print("81818181");
|
||||
|
||||
binary_sensor:
|
||||
- platform: tm1638
|
||||
id: Button0
|
||||
key: 0
|
||||
filters:
|
||||
- delayed_on: 10ms
|
||||
on_press:
|
||||
then:
|
||||
- switch.turn_on: Led0
|
||||
on_release:
|
||||
then:
|
||||
- switch.turn_off: Led0
|
||||
- platform: tm1638
|
||||
id: Button1
|
||||
key: 1
|
||||
on_press:
|
||||
then:
|
||||
- switch.turn_on: Led1
|
||||
on_release:
|
||||
then:
|
||||
- switch.turn_off: Led1
|
||||
- platform: tm1638
|
||||
id: Button2
|
||||
key: 2
|
||||
on_press:
|
||||
then:
|
||||
- switch.turn_on: Led2
|
||||
on_release:
|
||||
then:
|
||||
- switch.turn_off: Led2
|
||||
- platform: tm1638
|
||||
id: Button3
|
||||
key: 3
|
||||
on_press:
|
||||
then:
|
||||
- switch.turn_on: Led3
|
||||
on_release:
|
||||
then:
|
||||
- switch.turn_off: Led3
|
||||
- platform: tm1638
|
||||
id: Button4
|
||||
key: 4
|
||||
on_press:
|
||||
then:
|
||||
- output.turn_on: Led4
|
||||
on_release:
|
||||
then:
|
||||
- output.turn_off: Led4
|
||||
- platform: tm1638
|
||||
id: Button5
|
||||
key: 5
|
||||
on_press:
|
||||
then:
|
||||
- output.turn_on: Led5
|
||||
on_release:
|
||||
then:
|
||||
- output.turn_off: Led5
|
||||
- platform: tm1638
|
||||
id: Button6
|
||||
key: 6
|
||||
on_press:
|
||||
then:
|
||||
- output.turn_on: Led6
|
||||
on_release:
|
||||
then:
|
||||
- output.turn_off: Led6
|
||||
- platform: tm1638
|
||||
id: Button7
|
||||
key: 7
|
||||
on_press:
|
||||
then:
|
||||
- output.turn_on: Led7
|
||||
on_release:
|
||||
then:
|
||||
- output.turn_off: Led7
|
||||
|
||||
switch:
|
||||
- platform: tm1638
|
||||
id: Led0
|
||||
led: 0
|
||||
name: TM1638Led0
|
||||
- platform: tm1638
|
||||
id: Led1
|
||||
led: 1
|
||||
name: TM1638Led1
|
||||
- platform: tm1638
|
||||
id: Led2
|
||||
led: 2
|
||||
name: TM1638Led2
|
||||
- platform: tm1638
|
||||
id: Led3
|
||||
led: 3
|
||||
name: TM1638Led3
|
||||
|
||||
output:
|
||||
- platform: tm1638
|
||||
id: Led4
|
||||
led: 4
|
||||
- platform: tm1638
|
||||
id: Led5
|
||||
led: 5
|
||||
- platform: tm1638
|
||||
id: Led6
|
||||
led: 6
|
||||
- platform: tm1638
|
||||
id: Led7
|
||||
led: 7
|
118
tests/components/tm1638/test.esp32.yaml
Normal file
118
tests/components/tm1638/test.esp32.yaml
Normal file
|
@ -0,0 +1,118 @@
|
|||
display:
|
||||
- platform: tm1638
|
||||
id: tm1638_display
|
||||
stb_pin: 2
|
||||
clk_pin: 5
|
||||
dio_pin: 4
|
||||
update_interval: 5s
|
||||
intensity: 5
|
||||
lambda: |-
|
||||
it.print("81818181");
|
||||
|
||||
binary_sensor:
|
||||
- platform: tm1638
|
||||
id: Button0
|
||||
key: 0
|
||||
filters:
|
||||
- delayed_on: 10ms
|
||||
on_press:
|
||||
then:
|
||||
- switch.turn_on: Led0
|
||||
on_release:
|
||||
then:
|
||||
- switch.turn_off: Led0
|
||||
- platform: tm1638
|
||||
id: Button1
|
||||
key: 1
|
||||
on_press:
|
||||
then:
|
||||
- switch.turn_on: Led1
|
||||
on_release:
|
||||
then:
|
||||
- switch.turn_off: Led1
|
||||
- platform: tm1638
|
||||
id: Button2
|
||||
key: 2
|
||||
on_press:
|
||||
then:
|
||||
- switch.turn_on: Led2
|
||||
on_release:
|
||||
then:
|
||||
- switch.turn_off: Led2
|
||||
- platform: tm1638
|
||||
id: Button3
|
||||
key: 3
|
||||
on_press:
|
||||
then:
|
||||
- switch.turn_on: Led3
|
||||
on_release:
|
||||
then:
|
||||
- switch.turn_off: Led3
|
||||
- platform: tm1638
|
||||
id: Button4
|
||||
key: 4
|
||||
on_press:
|
||||
then:
|
||||
- output.turn_on: Led4
|
||||
on_release:
|
||||
then:
|
||||
- output.turn_off: Led4
|
||||
- platform: tm1638
|
||||
id: Button5
|
||||
key: 5
|
||||
on_press:
|
||||
then:
|
||||
- output.turn_on: Led5
|
||||
on_release:
|
||||
then:
|
||||
- output.turn_off: Led5
|
||||
- platform: tm1638
|
||||
id: Button6
|
||||
key: 6
|
||||
on_press:
|
||||
then:
|
||||
- output.turn_on: Led6
|
||||
on_release:
|
||||
then:
|
||||
- output.turn_off: Led6
|
||||
- platform: tm1638
|
||||
id: Button7
|
||||
key: 7
|
||||
on_press:
|
||||
then:
|
||||
- output.turn_on: Led7
|
||||
on_release:
|
||||
then:
|
||||
- output.turn_off: Led7
|
||||
|
||||
switch:
|
||||
- platform: tm1638
|
||||
id: Led0
|
||||
led: 0
|
||||
name: TM1638Led0
|
||||
- platform: tm1638
|
||||
id: Led1
|
||||
led: 1
|
||||
name: TM1638Led1
|
||||
- platform: tm1638
|
||||
id: Led2
|
||||
led: 2
|
||||
name: TM1638Led2
|
||||
- platform: tm1638
|
||||
id: Led3
|
||||
led: 3
|
||||
name: TM1638Led3
|
||||
|
||||
output:
|
||||
- platform: tm1638
|
||||
id: Led4
|
||||
led: 4
|
||||
- platform: tm1638
|
||||
id: Led5
|
||||
led: 5
|
||||
- platform: tm1638
|
||||
id: Led6
|
||||
led: 6
|
||||
- platform: tm1638
|
||||
id: Led7
|
||||
led: 7
|
118
tests/components/tm1638/test.esp8266.yaml
Normal file
118
tests/components/tm1638/test.esp8266.yaml
Normal file
|
@ -0,0 +1,118 @@
|
|||
display:
|
||||
- platform: tm1638
|
||||
id: tm1638_display
|
||||
stb_pin: 2
|
||||
clk_pin: 5
|
||||
dio_pin: 4
|
||||
update_interval: 5s
|
||||
intensity: 5
|
||||
lambda: |-
|
||||
it.print("81818181");
|
||||
|
||||
binary_sensor:
|
||||
- platform: tm1638
|
||||
id: Button0
|
||||
key: 0
|
||||
filters:
|
||||
- delayed_on: 10ms
|
||||
on_press:
|
||||
then:
|
||||
- switch.turn_on: Led0
|
||||
on_release:
|
||||
then:
|
||||
- switch.turn_off: Led0
|
||||
- platform: tm1638
|
||||
id: Button1
|
||||
key: 1
|
||||
on_press:
|
||||
then:
|
||||
- switch.turn_on: Led1
|
||||
on_release:
|
||||
then:
|
||||
- switch.turn_off: Led1
|
||||
- platform: tm1638
|
||||
id: Button2
|
||||
key: 2
|
||||
on_press:
|
||||
then:
|
||||
- switch.turn_on: Led2
|
||||
on_release:
|
||||
then:
|
||||
- switch.turn_off: Led2
|
||||
- platform: tm1638
|
||||
id: Button3
|
||||
key: 3
|
||||
on_press:
|
||||
then:
|
||||
- switch.turn_on: Led3
|
||||
on_release:
|
||||
then:
|
||||
- switch.turn_off: Led3
|
||||
- platform: tm1638
|
||||
id: Button4
|
||||
key: 4
|
||||
on_press:
|
||||
then:
|
||||
- output.turn_on: Led4
|
||||
on_release:
|
||||
then:
|
||||
- output.turn_off: Led4
|
||||
- platform: tm1638
|
||||
id: Button5
|
||||
key: 5
|
||||
on_press:
|
||||
then:
|
||||
- output.turn_on: Led5
|
||||
on_release:
|
||||
then:
|
||||
- output.turn_off: Led5
|
||||
- platform: tm1638
|
||||
id: Button6
|
||||
key: 6
|
||||
on_press:
|
||||
then:
|
||||
- output.turn_on: Led6
|
||||
on_release:
|
||||
then:
|
||||
- output.turn_off: Led6
|
||||
- platform: tm1638
|
||||
id: Button7
|
||||
key: 7
|
||||
on_press:
|
||||
then:
|
||||
- output.turn_on: Led7
|
||||
on_release:
|
||||
then:
|
||||
- output.turn_off: Led7
|
||||
|
||||
switch:
|
||||
- platform: tm1638
|
||||
id: Led0
|
||||
led: 0
|
||||
name: TM1638Led0
|
||||
- platform: tm1638
|
||||
id: Led1
|
||||
led: 1
|
||||
name: TM1638Led1
|
||||
- platform: tm1638
|
||||
id: Led2
|
||||
led: 2
|
||||
name: TM1638Led2
|
||||
- platform: tm1638
|
||||
id: Led3
|
||||
led: 3
|
||||
name: TM1638Led3
|
||||
|
||||
output:
|
||||
- platform: tm1638
|
||||
id: Led4
|
||||
led: 4
|
||||
- platform: tm1638
|
||||
id: Led5
|
||||
led: 5
|
||||
- platform: tm1638
|
||||
id: Led6
|
||||
led: 6
|
||||
- platform: tm1638
|
||||
id: Led7
|
||||
led: 7
|
118
tests/components/tm1638/test.rp2040.yaml
Normal file
118
tests/components/tm1638/test.rp2040.yaml
Normal file
|
@ -0,0 +1,118 @@
|
|||
display:
|
||||
- platform: tm1638
|
||||
id: tm1638_display
|
||||
stb_pin: 2
|
||||
clk_pin: 5
|
||||
dio_pin: 4
|
||||
update_interval: 5s
|
||||
intensity: 5
|
||||
lambda: |-
|
||||
it.print("81818181");
|
||||
|
||||
binary_sensor:
|
||||
- platform: tm1638
|
||||
id: Button0
|
||||
key: 0
|
||||
filters:
|
||||
- delayed_on: 10ms
|
||||
on_press:
|
||||
then:
|
||||
- switch.turn_on: Led0
|
||||
on_release:
|
||||
then:
|
||||
- switch.turn_off: Led0
|
||||
- platform: tm1638
|
||||
id: Button1
|
||||
key: 1
|
||||
on_press:
|
||||
then:
|
||||
- switch.turn_on: Led1
|
||||
on_release:
|
||||
then:
|
||||
- switch.turn_off: Led1
|
||||
- platform: tm1638
|
||||
id: Button2
|
||||
key: 2
|
||||
on_press:
|
||||
then:
|
||||
- switch.turn_on: Led2
|
||||
on_release:
|
||||
then:
|
||||
- switch.turn_off: Led2
|
||||
- platform: tm1638
|
||||
id: Button3
|
||||
key: 3
|
||||
on_press:
|
||||
then:
|
||||
- switch.turn_on: Led3
|
||||
on_release:
|
||||
then:
|
||||
- switch.turn_off: Led3
|
||||
- platform: tm1638
|
||||
id: Button4
|
||||
key: 4
|
||||
on_press:
|
||||
then:
|
||||
- output.turn_on: Led4
|
||||
on_release:
|
||||
then:
|
||||
- output.turn_off: Led4
|
||||
- platform: tm1638
|
||||
id: Button5
|
||||
key: 5
|
||||
on_press:
|
||||
then:
|
||||
- output.turn_on: Led5
|
||||
on_release:
|
||||
then:
|
||||
- output.turn_off: Led5
|
||||
- platform: tm1638
|
||||
id: Button6
|
||||
key: 6
|
||||
on_press:
|
||||
then:
|
||||
- output.turn_on: Led6
|
||||
on_release:
|
||||
then:
|
||||
- output.turn_off: Led6
|
||||
- platform: tm1638
|
||||
id: Button7
|
||||
key: 7
|
||||
on_press:
|
||||
then:
|
||||
- output.turn_on: Led7
|
||||
on_release:
|
||||
then:
|
||||
- output.turn_off: Led7
|
||||
|
||||
switch:
|
||||
- platform: tm1638
|
||||
id: Led0
|
||||
led: 0
|
||||
name: TM1638Led0
|
||||
- platform: tm1638
|
||||
id: Led1
|
||||
led: 1
|
||||
name: TM1638Led1
|
||||
- platform: tm1638
|
||||
id: Led2
|
||||
led: 2
|
||||
name: TM1638Led2
|
||||
- platform: tm1638
|
||||
id: Led3
|
||||
led: 3
|
||||
name: TM1638Led3
|
||||
|
||||
output:
|
||||
- platform: tm1638
|
||||
id: Led4
|
||||
led: 4
|
||||
- platform: tm1638
|
||||
id: Led5
|
||||
led: 5
|
||||
- platform: tm1638
|
||||
id: Led6
|
||||
led: 6
|
||||
- platform: tm1638
|
||||
id: Led7
|
||||
led: 7
|
21
tests/components/tm1651/test.esp32-c3.yaml
Normal file
21
tests/components/tm1651/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
tm1651:
|
||||
id: tm1651_battery
|
||||
clk_pin: 5
|
||||
dio_pin: 4
|
||||
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- tm1651.set_level_percent:
|
||||
id: tm1651_battery
|
||||
level_percent: 50
|
||||
- tm1651.set_level:
|
||||
id: tm1651_battery
|
||||
level: 5
|
||||
- tm1651.set_brightness:
|
||||
id: tm1651_battery
|
||||
brightness: 2
|
||||
- tm1651.turn_on:
|
||||
id: tm1651_battery
|
||||
- tm1651.turn_off:
|
||||
id: tm1651_battery
|
21
tests/components/tm1651/test.esp32.yaml
Normal file
21
tests/components/tm1651/test.esp32.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
tm1651:
|
||||
id: tm1651_battery
|
||||
clk_pin: 5
|
||||
dio_pin: 4
|
||||
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- tm1651.set_level_percent:
|
||||
id: tm1651_battery
|
||||
level_percent: 50
|
||||
- tm1651.set_level:
|
||||
id: tm1651_battery
|
||||
level: 5
|
||||
- tm1651.set_brightness:
|
||||
id: tm1651_battery
|
||||
brightness: 2
|
||||
- tm1651.turn_on:
|
||||
id: tm1651_battery
|
||||
- tm1651.turn_off:
|
||||
id: tm1651_battery
|
21
tests/components/tm1651/test.esp8266.yaml
Normal file
21
tests/components/tm1651/test.esp8266.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
tm1651:
|
||||
id: tm1651_battery
|
||||
clk_pin: 5
|
||||
dio_pin: 4
|
||||
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- tm1651.set_level_percent:
|
||||
id: tm1651_battery
|
||||
level_percent: 50
|
||||
- tm1651.set_level:
|
||||
id: tm1651_battery
|
||||
level: 5
|
||||
- tm1651.set_brightness:
|
||||
id: tm1651_battery
|
||||
brightness: 2
|
||||
- tm1651.turn_on:
|
||||
id: tm1651_battery
|
||||
- tm1651.turn_off:
|
||||
id: tm1651_battery
|
21
tests/components/tm1651/test.rp2040.yaml
Normal file
21
tests/components/tm1651/test.rp2040.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
tm1651:
|
||||
id: tm1651_battery
|
||||
clk_pin: 5
|
||||
dio_pin: 4
|
||||
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- tm1651.set_level_percent:
|
||||
id: tm1651_battery
|
||||
level_percent: 50
|
||||
- tm1651.set_level:
|
||||
id: tm1651_battery
|
||||
level: 5
|
||||
- tm1651.set_brightness:
|
||||
id: tm1651_battery
|
||||
brightness: 2
|
||||
- tm1651.turn_on:
|
||||
id: tm1651_battery
|
||||
- tm1651.turn_off:
|
||||
id: tm1651_battery
|
8
tests/components/tmp102/test.esp32-c3-idf.yaml
Normal file
8
tests/components/tmp102/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
i2c:
|
||||
- id: i2c_tmp102
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: tmp102
|
||||
name: TMP102 Temperature
|
8
tests/components/tmp102/test.esp32-c3.yaml
Normal file
8
tests/components/tmp102/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
i2c:
|
||||
- id: i2c_tmp102
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: tmp102
|
||||
name: TMP102 Temperature
|
8
tests/components/tmp102/test.esp32-idf.yaml
Normal file
8
tests/components/tmp102/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
i2c:
|
||||
- id: i2c_tmp102
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: tmp102
|
||||
name: TMP102 Temperature
|
8
tests/components/tmp102/test.esp32.yaml
Normal file
8
tests/components/tmp102/test.esp32.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
i2c:
|
||||
- id: i2c_tmp102
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: tmp102
|
||||
name: TMP102 Temperature
|
8
tests/components/tmp102/test.esp8266.yaml
Normal file
8
tests/components/tmp102/test.esp8266.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
i2c:
|
||||
- id: i2c_tmp102
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: tmp102
|
||||
name: TMP102 Temperature
|
8
tests/components/tmp102/test.rp2040.yaml
Normal file
8
tests/components/tmp102/test.rp2040.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
i2c:
|
||||
- id: i2c_tmp102
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: tmp102
|
||||
name: TMP102 Temperature
|
16
tests/components/tmp1075/test.esp32-c3-idf.yaml
Normal file
16
tests/components/tmp1075/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
i2c:
|
||||
- id: i2c_tmp1075
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: tmp1075
|
||||
name: Temperature TMP1075
|
||||
conversion_rate: 27.5ms
|
||||
alert:
|
||||
limit_low: 50
|
||||
limit_high: 75
|
||||
fault_count: 1
|
||||
polarity: active_high
|
||||
function: comparator
|
||||
update_interval: 10s
|
16
tests/components/tmp1075/test.esp32-c3.yaml
Normal file
16
tests/components/tmp1075/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
i2c:
|
||||
- id: i2c_tmp1075
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: tmp1075
|
||||
name: Temperature TMP1075
|
||||
conversion_rate: 27.5ms
|
||||
alert:
|
||||
limit_low: 50
|
||||
limit_high: 75
|
||||
fault_count: 1
|
||||
polarity: active_high
|
||||
function: comparator
|
||||
update_interval: 10s
|
16
tests/components/tmp1075/test.esp32-idf.yaml
Normal file
16
tests/components/tmp1075/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
i2c:
|
||||
- id: i2c_tmp1075
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: tmp1075
|
||||
name: Temperature TMP1075
|
||||
conversion_rate: 27.5ms
|
||||
alert:
|
||||
limit_low: 50
|
||||
limit_high: 75
|
||||
fault_count: 1
|
||||
polarity: active_high
|
||||
function: comparator
|
||||
update_interval: 10s
|
16
tests/components/tmp1075/test.esp32.yaml
Normal file
16
tests/components/tmp1075/test.esp32.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
i2c:
|
||||
- id: i2c_tmp1075
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: tmp1075
|
||||
name: Temperature TMP1075
|
||||
conversion_rate: 27.5ms
|
||||
alert:
|
||||
limit_low: 50
|
||||
limit_high: 75
|
||||
fault_count: 1
|
||||
polarity: active_high
|
||||
function: comparator
|
||||
update_interval: 10s
|
16
tests/components/tmp1075/test.esp8266.yaml
Normal file
16
tests/components/tmp1075/test.esp8266.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
i2c:
|
||||
- id: i2c_tmp1075
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: tmp1075
|
||||
name: Temperature TMP1075
|
||||
conversion_rate: 27.5ms
|
||||
alert:
|
||||
limit_low: 50
|
||||
limit_high: 75
|
||||
fault_count: 1
|
||||
polarity: active_high
|
||||
function: comparator
|
||||
update_interval: 10s
|
16
tests/components/tmp1075/test.rp2040.yaml
Normal file
16
tests/components/tmp1075/test.rp2040.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
i2c:
|
||||
- id: i2c_tmp1075
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: tmp1075
|
||||
name: Temperature TMP1075
|
||||
conversion_rate: 27.5ms
|
||||
alert:
|
||||
limit_low: 50
|
||||
limit_high: 75
|
||||
fault_count: 1
|
||||
polarity: active_high
|
||||
function: comparator
|
||||
update_interval: 10s
|
9
tests/components/tmp117/test.esp32-c3-idf.yaml
Normal file
9
tests/components/tmp117/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
i2c:
|
||||
- id: i2c_tmp117
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: tmp117
|
||||
name: TMP117 Temperature
|
||||
update_interval: 5s
|
9
tests/components/tmp117/test.esp32-c3.yaml
Normal file
9
tests/components/tmp117/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
i2c:
|
||||
- id: i2c_tmp117
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: tmp117
|
||||
name: TMP117 Temperature
|
||||
update_interval: 5s
|
9
tests/components/tmp117/test.esp32-idf.yaml
Normal file
9
tests/components/tmp117/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
i2c:
|
||||
- id: i2c_tmp117
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: tmp117
|
||||
name: TMP117 Temperature
|
||||
update_interval: 5s
|
9
tests/components/tmp117/test.esp32.yaml
Normal file
9
tests/components/tmp117/test.esp32.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
i2c:
|
||||
- id: i2c_tmp117
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: tmp117
|
||||
name: TMP117 Temperature
|
||||
update_interval: 5s
|
9
tests/components/tmp117/test.esp8266.yaml
Normal file
9
tests/components/tmp117/test.esp8266.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
i2c:
|
||||
- id: i2c_tmp117
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: tmp117
|
||||
name: TMP117 Temperature
|
||||
update_interval: 5s
|
9
tests/components/tmp117/test.rp2040.yaml
Normal file
9
tests/components/tmp117/test.rp2040.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
i2c:
|
||||
- id: i2c_tmp117
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: tmp117
|
||||
name: TMP117 Temperature
|
||||
update_interval: 5s
|
9
tests/components/tof10120/test.esp32-c3-idf.yaml
Normal file
9
tests/components/tof10120/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
i2c:
|
||||
- id: i2c_tof10120
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: tof10120
|
||||
name: Distance sensor
|
||||
update_interval: 5s
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue