mirror of
https://github.com/esphome/esphome.git
synced 2026-05-22 18:45:17 +08:00
Add some components to the new testing framework (T) (#6229)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
uart:
|
||||
- id: uart_t6615
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 19200
|
||||
|
||||
sensor:
|
||||
- platform: t6615
|
||||
co2:
|
||||
name: CO2 Sensor
|
||||
@@ -0,0 +1,10 @@
|
||||
uart:
|
||||
- id: uart_t6615
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 19200
|
||||
|
||||
sensor:
|
||||
- platform: t6615
|
||||
co2:
|
||||
name: CO2 Sensor
|
||||
@@ -0,0 +1,10 @@
|
||||
uart:
|
||||
- id: uart_t6615
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 19200
|
||||
|
||||
sensor:
|
||||
- platform: t6615
|
||||
co2:
|
||||
name: CO2 Sensor
|
||||
@@ -0,0 +1,10 @@
|
||||
uart:
|
||||
- id: uart_t6615
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 19200
|
||||
|
||||
sensor:
|
||||
- platform: t6615
|
||||
co2:
|
||||
name: CO2 Sensor
|
||||
@@ -0,0 +1,10 @@
|
||||
uart:
|
||||
- id: uart_t6615
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 19200
|
||||
|
||||
sensor:
|
||||
- platform: t6615
|
||||
co2:
|
||||
name: CO2 Sensor
|
||||
@@ -0,0 +1,10 @@
|
||||
uart:
|
||||
- id: uart_t6615
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 19200
|
||||
|
||||
sensor:
|
||||
- platform: t6615
|
||||
co2:
|
||||
name: CO2 Sensor
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -0,0 +1,9 @@
|
||||
i2c:
|
||||
- id: i2c_tee501
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: tee501
|
||||
name: TEE501 Temperature
|
||||
address: 0x48
|
||||
@@ -0,0 +1,9 @@
|
||||
i2c:
|
||||
- id: i2c_tee501
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: tee501
|
||||
name: TEE501 Temperature
|
||||
address: 0x48
|
||||
@@ -0,0 +1,9 @@
|
||||
i2c:
|
||||
- id: i2c_tee501
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: tee501
|
||||
name: TEE501 Temperature
|
||||
address: 0x48
|
||||
@@ -0,0 +1,9 @@
|
||||
i2c:
|
||||
- id: i2c_tee501
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: tee501
|
||||
name: TEE501 Temperature
|
||||
address: 0x48
|
||||
@@ -0,0 +1,9 @@
|
||||
i2c:
|
||||
- id: i2c_tee501
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: tee501
|
||||
name: TEE501 Temperature
|
||||
address: 0x48
|
||||
@@ -0,0 +1,9 @@
|
||||
i2c:
|
||||
- id: i2c_tee501
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: tee501
|
||||
name: TEE501 Temperature
|
||||
address: 0x48
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -0,0 +1,10 @@
|
||||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
api:
|
||||
|
||||
time:
|
||||
- platform: homeassistant
|
||||
- platform: sntp
|
||||
id: sntp_time
|
||||
@@ -0,0 +1,10 @@
|
||||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
api:
|
||||
|
||||
time:
|
||||
- platform: homeassistant
|
||||
- platform: sntp
|
||||
id: sntp_time
|
||||
@@ -0,0 +1,10 @@
|
||||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
api:
|
||||
|
||||
time:
|
||||
- platform: homeassistant
|
||||
- platform: sntp
|
||||
id: sntp_time
|
||||
@@ -0,0 +1,10 @@
|
||||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
api:
|
||||
|
||||
time:
|
||||
- platform: homeassistant
|
||||
- platform: sntp
|
||||
id: sntp_time
|
||||
@@ -0,0 +1,10 @@
|
||||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
api:
|
||||
|
||||
time:
|
||||
- platform: homeassistant
|
||||
- platform: sntp
|
||||
id: sntp_time
|
||||
@@ -0,0 +1,10 @@
|
||||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
api:
|
||||
|
||||
time:
|
||||
- platform: homeassistant
|
||||
- platform: sntp
|
||||
id: sntp_time
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user