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 (A part 2) (#6162)
This commit is contained in:
parent
164b42f5aa
commit
9dbbc80c74
88 changed files with 2622 additions and 0 deletions
64
tests/components/alarm_control_panel/test.esp32-c3-idf.yaml
Normal file
64
tests/components/alarm_control_panel/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,64 @@
|
|||
binary_sensor:
|
||||
- platform: gpio
|
||||
id: bin1
|
||||
pin: 1
|
||||
|
||||
alarm_control_panel:
|
||||
- platform: template
|
||||
id: alarmcontrolpanel1
|
||||
name: Alarm Panel
|
||||
codes:
|
||||
- "1234"
|
||||
requires_code_to_arm: true
|
||||
arming_home_time: 1s
|
||||
arming_night_time: 1s
|
||||
arming_away_time: 15s
|
||||
pending_time: 15s
|
||||
trigger_time: 30s
|
||||
binary_sensors:
|
||||
- input: bin1
|
||||
bypass_armed_home: true
|
||||
bypass_armed_night: true
|
||||
on_state:
|
||||
then:
|
||||
- lambda: !lambda |-
|
||||
ESP_LOGD("TEST", "State change %s", LOG_STR_ARG(alarm_control_panel_state_to_string(id(alarmcontrolpanel1)->get_state())));
|
||||
- platform: template
|
||||
id: alarmcontrolpanel2
|
||||
name: Alarm Panel
|
||||
codes:
|
||||
- "1234"
|
||||
requires_code_to_arm: true
|
||||
arming_home_time: 1s
|
||||
arming_night_time: 1s
|
||||
arming_away_time: 15s
|
||||
pending_time: 15s
|
||||
trigger_time: 30s
|
||||
binary_sensors:
|
||||
- input: bin1
|
||||
bypass_armed_home: true
|
||||
bypass_armed_night: true
|
||||
on_disarmed:
|
||||
then:
|
||||
- logger.log: "### DISARMED ###"
|
||||
on_pending:
|
||||
then:
|
||||
- logger.log: "### PENDING ###"
|
||||
on_arming:
|
||||
then:
|
||||
- logger.log: "### ARMING ###"
|
||||
on_armed_home:
|
||||
then:
|
||||
- logger.log: "### ARMED HOME ###"
|
||||
on_armed_night:
|
||||
then:
|
||||
- logger.log: "### ARMED NIGHT ###"
|
||||
on_armed_away:
|
||||
then:
|
||||
- logger.log: "### ARMED AWAY ###"
|
||||
on_triggered:
|
||||
then:
|
||||
- logger.log: "### TRIGGERED ###"
|
||||
on_cleared:
|
||||
then:
|
||||
- logger.log: "### CLEARED ###"
|
64
tests/components/alarm_control_panel/test.esp32-c3.yaml
Normal file
64
tests/components/alarm_control_panel/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,64 @@
|
|||
binary_sensor:
|
||||
- platform: gpio
|
||||
id: bin1
|
||||
pin: 1
|
||||
|
||||
alarm_control_panel:
|
||||
- platform: template
|
||||
id: alarmcontrolpanel1
|
||||
name: Alarm Panel
|
||||
codes:
|
||||
- "1234"
|
||||
requires_code_to_arm: true
|
||||
arming_home_time: 1s
|
||||
arming_night_time: 1s
|
||||
arming_away_time: 15s
|
||||
pending_time: 15s
|
||||
trigger_time: 30s
|
||||
binary_sensors:
|
||||
- input: bin1
|
||||
bypass_armed_home: true
|
||||
bypass_armed_night: true
|
||||
on_state:
|
||||
then:
|
||||
- lambda: !lambda |-
|
||||
ESP_LOGD("TEST", "State change %s", LOG_STR_ARG(alarm_control_panel_state_to_string(id(alarmcontrolpanel1)->get_state())));
|
||||
- platform: template
|
||||
id: alarmcontrolpanel2
|
||||
name: Alarm Panel
|
||||
codes:
|
||||
- "1234"
|
||||
requires_code_to_arm: true
|
||||
arming_home_time: 1s
|
||||
arming_night_time: 1s
|
||||
arming_away_time: 15s
|
||||
pending_time: 15s
|
||||
trigger_time: 30s
|
||||
binary_sensors:
|
||||
- input: bin1
|
||||
bypass_armed_home: true
|
||||
bypass_armed_night: true
|
||||
on_disarmed:
|
||||
then:
|
||||
- logger.log: "### DISARMED ###"
|
||||
on_pending:
|
||||
then:
|
||||
- logger.log: "### PENDING ###"
|
||||
on_arming:
|
||||
then:
|
||||
- logger.log: "### ARMING ###"
|
||||
on_armed_home:
|
||||
then:
|
||||
- logger.log: "### ARMED HOME ###"
|
||||
on_armed_night:
|
||||
then:
|
||||
- logger.log: "### ARMED NIGHT ###"
|
||||
on_armed_away:
|
||||
then:
|
||||
- logger.log: "### ARMED AWAY ###"
|
||||
on_triggered:
|
||||
then:
|
||||
- logger.log: "### TRIGGERED ###"
|
||||
on_cleared:
|
||||
then:
|
||||
- logger.log: "### CLEARED ###"
|
64
tests/components/alarm_control_panel/test.esp32-idf.yaml
Normal file
64
tests/components/alarm_control_panel/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,64 @@
|
|||
binary_sensor:
|
||||
- platform: gpio
|
||||
id: bin1
|
||||
pin: 1
|
||||
|
||||
alarm_control_panel:
|
||||
- platform: template
|
||||
id: alarmcontrolpanel1
|
||||
name: Alarm Panel
|
||||
codes:
|
||||
- "1234"
|
||||
requires_code_to_arm: true
|
||||
arming_home_time: 1s
|
||||
arming_night_time: 1s
|
||||
arming_away_time: 15s
|
||||
pending_time: 15s
|
||||
trigger_time: 30s
|
||||
binary_sensors:
|
||||
- input: bin1
|
||||
bypass_armed_home: true
|
||||
bypass_armed_night: true
|
||||
on_state:
|
||||
then:
|
||||
- lambda: !lambda |-
|
||||
ESP_LOGD("TEST", "State change %s", LOG_STR_ARG(alarm_control_panel_state_to_string(id(alarmcontrolpanel1)->get_state())));
|
||||
- platform: template
|
||||
id: alarmcontrolpanel2
|
||||
name: Alarm Panel
|
||||
codes:
|
||||
- "1234"
|
||||
requires_code_to_arm: true
|
||||
arming_home_time: 1s
|
||||
arming_night_time: 1s
|
||||
arming_away_time: 15s
|
||||
pending_time: 15s
|
||||
trigger_time: 30s
|
||||
binary_sensors:
|
||||
- input: bin1
|
||||
bypass_armed_home: true
|
||||
bypass_armed_night: true
|
||||
on_disarmed:
|
||||
then:
|
||||
- logger.log: "### DISARMED ###"
|
||||
on_pending:
|
||||
then:
|
||||
- logger.log: "### PENDING ###"
|
||||
on_arming:
|
||||
then:
|
||||
- logger.log: "### ARMING ###"
|
||||
on_armed_home:
|
||||
then:
|
||||
- logger.log: "### ARMED HOME ###"
|
||||
on_armed_night:
|
||||
then:
|
||||
- logger.log: "### ARMED NIGHT ###"
|
||||
on_armed_away:
|
||||
then:
|
||||
- logger.log: "### ARMED AWAY ###"
|
||||
on_triggered:
|
||||
then:
|
||||
- logger.log: "### TRIGGERED ###"
|
||||
on_cleared:
|
||||
then:
|
||||
- logger.log: "### CLEARED ###"
|
64
tests/components/alarm_control_panel/test.esp32.yaml
Normal file
64
tests/components/alarm_control_panel/test.esp32.yaml
Normal file
|
@ -0,0 +1,64 @@
|
|||
binary_sensor:
|
||||
- platform: gpio
|
||||
id: bin1
|
||||
pin: 1
|
||||
|
||||
alarm_control_panel:
|
||||
- platform: template
|
||||
id: alarmcontrolpanel1
|
||||
name: Alarm Panel
|
||||
codes:
|
||||
- "1234"
|
||||
requires_code_to_arm: true
|
||||
arming_home_time: 1s
|
||||
arming_night_time: 1s
|
||||
arming_away_time: 15s
|
||||
pending_time: 15s
|
||||
trigger_time: 30s
|
||||
binary_sensors:
|
||||
- input: bin1
|
||||
bypass_armed_home: true
|
||||
bypass_armed_night: true
|
||||
on_state:
|
||||
then:
|
||||
- lambda: !lambda |-
|
||||
ESP_LOGD("TEST", "State change %s", LOG_STR_ARG(alarm_control_panel_state_to_string(id(alarmcontrolpanel1)->get_state())));
|
||||
- platform: template
|
||||
id: alarmcontrolpanel2
|
||||
name: Alarm Panel
|
||||
codes:
|
||||
- "1234"
|
||||
requires_code_to_arm: true
|
||||
arming_home_time: 1s
|
||||
arming_night_time: 1s
|
||||
arming_away_time: 15s
|
||||
pending_time: 15s
|
||||
trigger_time: 30s
|
||||
binary_sensors:
|
||||
- input: bin1
|
||||
bypass_armed_home: true
|
||||
bypass_armed_night: true
|
||||
on_disarmed:
|
||||
then:
|
||||
- logger.log: "### DISARMED ###"
|
||||
on_pending:
|
||||
then:
|
||||
- logger.log: "### PENDING ###"
|
||||
on_arming:
|
||||
then:
|
||||
- logger.log: "### ARMING ###"
|
||||
on_armed_home:
|
||||
then:
|
||||
- logger.log: "### ARMED HOME ###"
|
||||
on_armed_night:
|
||||
then:
|
||||
- logger.log: "### ARMED NIGHT ###"
|
||||
on_armed_away:
|
||||
then:
|
||||
- logger.log: "### ARMED AWAY ###"
|
||||
on_triggered:
|
||||
then:
|
||||
- logger.log: "### TRIGGERED ###"
|
||||
on_cleared:
|
||||
then:
|
||||
- logger.log: "### CLEARED ###"
|
64
tests/components/alarm_control_panel/test.esp8266.yaml
Normal file
64
tests/components/alarm_control_panel/test.esp8266.yaml
Normal file
|
@ -0,0 +1,64 @@
|
|||
binary_sensor:
|
||||
- platform: gpio
|
||||
id: bin1
|
||||
pin: 1
|
||||
|
||||
alarm_control_panel:
|
||||
- platform: template
|
||||
id: alarmcontrolpanel1
|
||||
name: Alarm Panel
|
||||
codes:
|
||||
- "1234"
|
||||
requires_code_to_arm: true
|
||||
arming_home_time: 1s
|
||||
arming_night_time: 1s
|
||||
arming_away_time: 15s
|
||||
pending_time: 15s
|
||||
trigger_time: 30s
|
||||
binary_sensors:
|
||||
- input: bin1
|
||||
bypass_armed_home: true
|
||||
bypass_armed_night: true
|
||||
on_state:
|
||||
then:
|
||||
- lambda: !lambda |-
|
||||
ESP_LOGD("TEST", "State change %s", LOG_STR_ARG(alarm_control_panel_state_to_string(id(alarmcontrolpanel1)->get_state())));
|
||||
- platform: template
|
||||
id: alarmcontrolpanel2
|
||||
name: Alarm Panel
|
||||
codes:
|
||||
- "1234"
|
||||
requires_code_to_arm: true
|
||||
arming_home_time: 1s
|
||||
arming_night_time: 1s
|
||||
arming_away_time: 15s
|
||||
pending_time: 15s
|
||||
trigger_time: 30s
|
||||
binary_sensors:
|
||||
- input: bin1
|
||||
bypass_armed_home: true
|
||||
bypass_armed_night: true
|
||||
on_disarmed:
|
||||
then:
|
||||
- logger.log: "### DISARMED ###"
|
||||
on_pending:
|
||||
then:
|
||||
- logger.log: "### PENDING ###"
|
||||
on_arming:
|
||||
then:
|
||||
- logger.log: "### ARMING ###"
|
||||
on_armed_home:
|
||||
then:
|
||||
- logger.log: "### ARMED HOME ###"
|
||||
on_armed_night:
|
||||
then:
|
||||
- logger.log: "### ARMED NIGHT ###"
|
||||
on_armed_away:
|
||||
then:
|
||||
- logger.log: "### ARMED AWAY ###"
|
||||
on_triggered:
|
||||
then:
|
||||
- logger.log: "### TRIGGERED ###"
|
||||
on_cleared:
|
||||
then:
|
||||
- logger.log: "### CLEARED ###"
|
64
tests/components/alarm_control_panel/test.rp2040.yaml
Normal file
64
tests/components/alarm_control_panel/test.rp2040.yaml
Normal file
|
@ -0,0 +1,64 @@
|
|||
binary_sensor:
|
||||
- platform: gpio
|
||||
id: bin1
|
||||
pin: 1
|
||||
|
||||
alarm_control_panel:
|
||||
- platform: template
|
||||
id: alarmcontrolpanel1
|
||||
name: Alarm Panel
|
||||
codes:
|
||||
- "1234"
|
||||
requires_code_to_arm: true
|
||||
arming_home_time: 1s
|
||||
arming_night_time: 1s
|
||||
arming_away_time: 15s
|
||||
pending_time: 15s
|
||||
trigger_time: 30s
|
||||
binary_sensors:
|
||||
- input: bin1
|
||||
bypass_armed_home: true
|
||||
bypass_armed_night: true
|
||||
on_state:
|
||||
then:
|
||||
- lambda: !lambda |-
|
||||
ESP_LOGD("TEST", "State change %s", LOG_STR_ARG(alarm_control_panel_state_to_string(id(alarmcontrolpanel1)->get_state())));
|
||||
- platform: template
|
||||
id: alarmcontrolpanel2
|
||||
name: Alarm Panel
|
||||
codes:
|
||||
- "1234"
|
||||
requires_code_to_arm: true
|
||||
arming_home_time: 1s
|
||||
arming_night_time: 1s
|
||||
arming_away_time: 15s
|
||||
pending_time: 15s
|
||||
trigger_time: 30s
|
||||
binary_sensors:
|
||||
- input: bin1
|
||||
bypass_armed_home: true
|
||||
bypass_armed_night: true
|
||||
on_disarmed:
|
||||
then:
|
||||
- logger.log: "### DISARMED ###"
|
||||
on_pending:
|
||||
then:
|
||||
- logger.log: "### PENDING ###"
|
||||
on_arming:
|
||||
then:
|
||||
- logger.log: "### ARMING ###"
|
||||
on_armed_home:
|
||||
then:
|
||||
- logger.log: "### ARMED HOME ###"
|
||||
on_armed_night:
|
||||
then:
|
||||
- logger.log: "### ARMED NIGHT ###"
|
||||
on_armed_away:
|
||||
then:
|
||||
- logger.log: "### ARMED AWAY ###"
|
||||
on_triggered:
|
||||
then:
|
||||
- logger.log: "### TRIGGERED ###"
|
||||
on_cleared:
|
||||
then:
|
||||
- logger.log: "### CLEARED ###"
|
17
tests/components/alpha3/test.esp32-c3-idf.yaml
Normal file
17
tests/components/alpha3/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: alpha3_blec
|
||||
|
||||
sensor:
|
||||
- platform: alpha3
|
||||
ble_client_id: alpha3_blec
|
||||
flow:
|
||||
name: "Radiator Pump Flow"
|
||||
head:
|
||||
name: "Radiator Pump Head"
|
||||
power:
|
||||
name: "Radiator Pump Power"
|
||||
speed:
|
||||
name: "Radiator Pump Speed"
|
17
tests/components/alpha3/test.esp32-c3.yaml
Normal file
17
tests/components/alpha3/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: alpha3_blec
|
||||
|
||||
sensor:
|
||||
- platform: alpha3
|
||||
ble_client_id: alpha3_blec
|
||||
flow:
|
||||
name: "Radiator Pump Flow"
|
||||
head:
|
||||
name: "Radiator Pump Head"
|
||||
power:
|
||||
name: "Radiator Pump Power"
|
||||
speed:
|
||||
name: "Radiator Pump Speed"
|
17
tests/components/alpha3/test.esp32-idf.yaml
Normal file
17
tests/components/alpha3/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: alpha3_blec
|
||||
|
||||
sensor:
|
||||
- platform: alpha3
|
||||
ble_client_id: alpha3_blec
|
||||
flow:
|
||||
name: "Radiator Pump Flow"
|
||||
head:
|
||||
name: "Radiator Pump Head"
|
||||
power:
|
||||
name: "Radiator Pump Power"
|
||||
speed:
|
||||
name: "Radiator Pump Speed"
|
17
tests/components/alpha3/test.esp32.yaml
Normal file
17
tests/components/alpha3/test.esp32.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: alpha3_blec
|
||||
|
||||
sensor:
|
||||
- platform: alpha3
|
||||
ble_client_id: alpha3_blec
|
||||
flow:
|
||||
name: "Radiator Pump Flow"
|
||||
head:
|
||||
name: "Radiator Pump Head"
|
||||
power:
|
||||
name: "Radiator Pump Power"
|
||||
speed:
|
||||
name: "Radiator Pump Speed"
|
11
tests/components/am2320/test.esp32-c3-idf.yaml
Normal file
11
tests/components/am2320/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
i2c:
|
||||
- id: i2c_bme280
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: am2320
|
||||
temperature:
|
||||
name: Temperature
|
||||
humidity:
|
||||
name: Humidity
|
11
tests/components/am2320/test.esp32-c3.yaml
Normal file
11
tests/components/am2320/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
i2c:
|
||||
- id: i2c_bme280
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: am2320
|
||||
temperature:
|
||||
name: Temperature
|
||||
humidity:
|
||||
name: Humidity
|
11
tests/components/am2320/test.esp32-idf.yaml
Normal file
11
tests/components/am2320/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
i2c:
|
||||
- id: i2c_bme280
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: am2320
|
||||
temperature:
|
||||
name: Temperature
|
||||
humidity:
|
||||
name: Humidity
|
11
tests/components/am2320/test.esp32.yaml
Normal file
11
tests/components/am2320/test.esp32.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
i2c:
|
||||
- id: i2c_bme280
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: am2320
|
||||
temperature:
|
||||
name: Temperature
|
||||
humidity:
|
||||
name: Humidity
|
11
tests/components/am2320/test.esp8266.yaml
Normal file
11
tests/components/am2320/test.esp8266.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
i2c:
|
||||
- id: i2c_bme280
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: am2320
|
||||
temperature:
|
||||
name: Temperature
|
||||
humidity:
|
||||
name: Humidity
|
11
tests/components/am2320/test.rp2040.yaml
Normal file
11
tests/components/am2320/test.rp2040.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
i2c:
|
||||
- id: i2c_bme280
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: am2320
|
||||
temperature:
|
||||
name: Temperature
|
||||
humidity:
|
||||
name: Humidity
|
19
tests/components/am43/test.esp32-c3-idf.yaml
Normal file
19
tests/components/am43/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: am43_blec
|
||||
|
||||
cover:
|
||||
- platform: am43
|
||||
name: Test AM43 Cover
|
||||
id: am43_test
|
||||
ble_client_id: am43_blec
|
||||
|
||||
sensor:
|
||||
- platform: am43
|
||||
ble_client_id: am43_blec
|
||||
battery_level:
|
||||
name: Kitchen blinds battery
|
||||
illuminance:
|
||||
name: Kitchen blinds light
|
19
tests/components/am43/test.esp32-c3.yaml
Normal file
19
tests/components/am43/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: am43_blec
|
||||
|
||||
cover:
|
||||
- platform: am43
|
||||
name: Test AM43 Cover
|
||||
id: am43_test
|
||||
ble_client_id: am43_blec
|
||||
|
||||
sensor:
|
||||
- platform: am43
|
||||
ble_client_id: am43_blec
|
||||
battery_level:
|
||||
name: Kitchen blinds battery
|
||||
illuminance:
|
||||
name: Kitchen blinds light
|
19
tests/components/am43/test.esp32-idf.yaml
Normal file
19
tests/components/am43/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: am43_blec
|
||||
|
||||
cover:
|
||||
- platform: am43
|
||||
name: Test AM43 Cover
|
||||
id: am43_test
|
||||
ble_client_id: am43_blec
|
||||
|
||||
sensor:
|
||||
- platform: am43
|
||||
ble_client_id: am43_blec
|
||||
battery_level:
|
||||
name: Kitchen blinds battery
|
||||
illuminance:
|
||||
name: Kitchen blinds light
|
19
tests/components/am43/test.esp32.yaml
Normal file
19
tests/components/am43/test.esp32.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: am43_blec
|
||||
|
||||
cover:
|
||||
- platform: am43
|
||||
name: Test AM43 Cover
|
||||
id: am43_test
|
||||
ble_client_id: am43_blec
|
||||
|
||||
sensor:
|
||||
- platform: am43
|
||||
ble_client_id: am43_blec
|
||||
battery_level:
|
||||
name: Kitchen blinds battery
|
||||
illuminance:
|
||||
name: Kitchen blinds light
|
28
tests/components/analog_threshold/test.esp32-c3-idf.yaml
Normal file
28
tests/components/analog_threshold/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,28 @@
|
|||
sensor:
|
||||
- platform: template
|
||||
id: template_sensor
|
||||
name: Template Sensor
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return 42.0;
|
||||
} else {
|
||||
return 0.0;
|
||||
}
|
||||
update_interval: 15s
|
||||
|
||||
binary_sensor:
|
||||
- platform: analog_threshold
|
||||
name: Analog Threshold 1
|
||||
sensor_id: template_sensor
|
||||
threshold:
|
||||
upper: 110
|
||||
lower: 90
|
||||
filters:
|
||||
- delayed_on: 0s
|
||||
- delayed_off: 10s
|
||||
- platform: analog_threshold
|
||||
name: Analog Threshold 2
|
||||
sensor_id: template_sensor
|
||||
threshold: 100
|
||||
filters:
|
||||
- invert:
|
28
tests/components/analog_threshold/test.esp32-c3.yaml
Normal file
28
tests/components/analog_threshold/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,28 @@
|
|||
sensor:
|
||||
- platform: template
|
||||
id: template_sensor
|
||||
name: Template Sensor
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return 42.0;
|
||||
} else {
|
||||
return 0.0;
|
||||
}
|
||||
update_interval: 15s
|
||||
|
||||
binary_sensor:
|
||||
- platform: analog_threshold
|
||||
name: Analog Threshold 1
|
||||
sensor_id: template_sensor
|
||||
threshold:
|
||||
upper: 110
|
||||
lower: 90
|
||||
filters:
|
||||
- delayed_on: 0s
|
||||
- delayed_off: 10s
|
||||
- platform: analog_threshold
|
||||
name: Analog Threshold 2
|
||||
sensor_id: template_sensor
|
||||
threshold: 100
|
||||
filters:
|
||||
- invert:
|
28
tests/components/analog_threshold/test.esp32-idf.yaml
Normal file
28
tests/components/analog_threshold/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,28 @@
|
|||
sensor:
|
||||
- platform: template
|
||||
id: template_sensor
|
||||
name: Template Sensor
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return 42.0;
|
||||
} else {
|
||||
return 0.0;
|
||||
}
|
||||
update_interval: 15s
|
||||
|
||||
binary_sensor:
|
||||
- platform: analog_threshold
|
||||
name: Analog Threshold 1
|
||||
sensor_id: template_sensor
|
||||
threshold:
|
||||
upper: 110
|
||||
lower: 90
|
||||
filters:
|
||||
- delayed_on: 0s
|
||||
- delayed_off: 10s
|
||||
- platform: analog_threshold
|
||||
name: Analog Threshold 2
|
||||
sensor_id: template_sensor
|
||||
threshold: 100
|
||||
filters:
|
||||
- invert:
|
28
tests/components/analog_threshold/test.esp32.yaml
Normal file
28
tests/components/analog_threshold/test.esp32.yaml
Normal file
|
@ -0,0 +1,28 @@
|
|||
sensor:
|
||||
- platform: template
|
||||
id: template_sensor
|
||||
name: Template Sensor
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return 42.0;
|
||||
} else {
|
||||
return 0.0;
|
||||
}
|
||||
update_interval: 15s
|
||||
|
||||
binary_sensor:
|
||||
- platform: analog_threshold
|
||||
name: Analog Threshold 1
|
||||
sensor_id: template_sensor
|
||||
threshold:
|
||||
upper: 110
|
||||
lower: 90
|
||||
filters:
|
||||
- delayed_on: 0s
|
||||
- delayed_off: 10s
|
||||
- platform: analog_threshold
|
||||
name: Analog Threshold 2
|
||||
sensor_id: template_sensor
|
||||
threshold: 100
|
||||
filters:
|
||||
- invert:
|
28
tests/components/analog_threshold/test.esp8266.yaml
Normal file
28
tests/components/analog_threshold/test.esp8266.yaml
Normal file
|
@ -0,0 +1,28 @@
|
|||
sensor:
|
||||
- platform: template
|
||||
id: template_sensor
|
||||
name: Template Sensor
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return 42.0;
|
||||
} else {
|
||||
return 0.0;
|
||||
}
|
||||
update_interval: 15s
|
||||
|
||||
binary_sensor:
|
||||
- platform: analog_threshold
|
||||
name: Analog Threshold 1
|
||||
sensor_id: template_sensor
|
||||
threshold:
|
||||
upper: 110
|
||||
lower: 90
|
||||
filters:
|
||||
- delayed_on: 0s
|
||||
- delayed_off: 10s
|
||||
- platform: analog_threshold
|
||||
name: Analog Threshold 2
|
||||
sensor_id: template_sensor
|
||||
threshold: 100
|
||||
filters:
|
||||
- invert:
|
28
tests/components/analog_threshold/test.rp2040.yaml
Normal file
28
tests/components/analog_threshold/test.rp2040.yaml
Normal file
|
@ -0,0 +1,28 @@
|
|||
sensor:
|
||||
- platform: template
|
||||
id: template_sensor
|
||||
name: Template Sensor
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return 42.0;
|
||||
} else {
|
||||
return 0.0;
|
||||
}
|
||||
update_interval: 15s
|
||||
|
||||
binary_sensor:
|
||||
- platform: analog_threshold
|
||||
name: Analog Threshold 1
|
||||
sensor_id: template_sensor
|
||||
threshold:
|
||||
upper: 110
|
||||
lower: 90
|
||||
filters:
|
||||
- delayed_on: 0s
|
||||
- delayed_off: 10s
|
||||
- platform: analog_threshold
|
||||
name: Analog Threshold 2
|
||||
sensor_id: template_sensor
|
||||
threshold: 100
|
||||
filters:
|
||||
- invert:
|
23
tests/components/animation/test.esp32-c3-idf.yaml
Normal file
23
tests/components/animation/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,23 @@
|
|||
spi:
|
||||
- id: spi_main_lcd
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
id: main_lcd
|
||||
model: ili9342
|
||||
cs_pin: 8
|
||||
dc_pin: 9
|
||||
reset_pin: 10
|
||||
|
||||
# Purposely test that `animation:` does auto-load `image:`
|
||||
# Keep the `image:` undefined.
|
||||
# image:
|
||||
|
||||
animation:
|
||||
- id: rgb565_animation
|
||||
file: ../../pnglogo.png
|
||||
type: RGB565
|
||||
use_transparency: no
|
23
tests/components/animation/test.esp32-c3.yaml
Normal file
23
tests/components/animation/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,23 @@
|
|||
spi:
|
||||
- id: spi_main_lcd
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
id: main_lcd
|
||||
model: ili9342
|
||||
cs_pin: 8
|
||||
dc_pin: 9
|
||||
reset_pin: 10
|
||||
|
||||
# Purposely test that `animation:` does auto-load `image:`
|
||||
# Keep the `image:` undefined.
|
||||
# image:
|
||||
|
||||
animation:
|
||||
- id: rgb565_animation
|
||||
file: ../../pnglogo.png
|
||||
type: RGB565
|
||||
use_transparency: no
|
23
tests/components/animation/test.esp32-idf.yaml
Normal file
23
tests/components/animation/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,23 @@
|
|||
spi:
|
||||
- id: spi_main_lcd
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
id: main_lcd
|
||||
model: ili9342
|
||||
cs_pin: 12
|
||||
dc_pin: 13
|
||||
reset_pin: 21
|
||||
|
||||
# Purposely test that `animation:` does auto-load `image:`
|
||||
# Keep the `image:` undefined.
|
||||
# image:
|
||||
|
||||
animation:
|
||||
- id: rgb565_animation
|
||||
file: ../../pnglogo.png
|
||||
type: RGB565
|
||||
use_transparency: no
|
23
tests/components/animation/test.esp32.yaml
Normal file
23
tests/components/animation/test.esp32.yaml
Normal file
|
@ -0,0 +1,23 @@
|
|||
spi:
|
||||
- id: spi_main_lcd
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
id: main_lcd
|
||||
model: ili9342
|
||||
cs_pin: 12
|
||||
dc_pin: 13
|
||||
reset_pin: 21
|
||||
|
||||
# Purposely test that `animation:` does auto-load `image:`
|
||||
# Keep the `image:` undefined.
|
||||
# image:
|
||||
|
||||
animation:
|
||||
- id: rgb565_animation
|
||||
file: ../../pnglogo.png
|
||||
type: RGB565
|
||||
use_transparency: no
|
23
tests/components/animation/test.esp8266.yaml
Normal file
23
tests/components/animation/test.esp8266.yaml
Normal file
|
@ -0,0 +1,23 @@
|
|||
spi:
|
||||
- id: spi_main_lcd
|
||||
clk_pin: 14
|
||||
mosi_pin: 13
|
||||
miso_pin: 12
|
||||
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
id: main_lcd
|
||||
model: ili9342
|
||||
cs_pin: 5
|
||||
dc_pin: 15
|
||||
reset_pin: 16
|
||||
|
||||
# Purposely test that `animation:` does auto-load `image:`
|
||||
# Keep the `image:` undefined.
|
||||
# image:
|
||||
|
||||
animation:
|
||||
- id: rgb565_animation
|
||||
file: ../../pnglogo.png
|
||||
type: RGB565
|
||||
use_transparency: no
|
23
tests/components/animation/test.rp2040.yaml
Normal file
23
tests/components/animation/test.rp2040.yaml
Normal file
|
@ -0,0 +1,23 @@
|
|||
spi:
|
||||
- id: spi_main_lcd
|
||||
clk_pin: 2
|
||||
mosi_pin: 3
|
||||
miso_pin: 4
|
||||
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
id: main_lcd
|
||||
model: ili9342
|
||||
cs_pin: 20
|
||||
dc_pin: 21
|
||||
reset_pin: 22
|
||||
|
||||
# Purposely test that `animation:` does auto-load `image:`
|
||||
# Keep the `image:` undefined.
|
||||
# image:
|
||||
|
||||
animation:
|
||||
- id: rgb565_animation
|
||||
file: ../../pnglogo.png
|
||||
type: RGB565
|
||||
use_transparency: no
|
11
tests/components/anova/test.esp32-c3-idf.yaml
Normal file
11
tests/components/anova/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: anova_blec
|
||||
|
||||
climate:
|
||||
- platform: anova
|
||||
name: Anova cooker
|
||||
ble_client_id: anova_blec
|
||||
unit_of_measurement: c
|
11
tests/components/anova/test.esp32-c3.yaml
Normal file
11
tests/components/anova/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: anova_blec
|
||||
|
||||
climate:
|
||||
- platform: anova
|
||||
name: Anova cooker
|
||||
ble_client_id: anova_blec
|
||||
unit_of_measurement: c
|
11
tests/components/anova/test.esp32-idf.yaml
Normal file
11
tests/components/anova/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: anova_blec
|
||||
|
||||
climate:
|
||||
- platform: anova
|
||||
name: Anova cooker
|
||||
ble_client_id: anova_blec
|
||||
unit_of_measurement: c
|
11
tests/components/anova/test.esp32.yaml
Normal file
11
tests/components/anova/test.esp32.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: anova_blec
|
||||
|
||||
climate:
|
||||
- platform: anova
|
||||
name: Anova cooker
|
||||
ble_client_id: anova_blec
|
||||
unit_of_measurement: c
|
48
tests/components/apds9960/test.esp32-c3-idf.yaml
Normal file
48
tests/components/apds9960/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,48 @@
|
|||
i2c:
|
||||
- id: i2c_bme280
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
apds9960:
|
||||
address: 0x20
|
||||
update_interval: 60s
|
||||
|
||||
binary_sensor:
|
||||
- platform: apds9960
|
||||
id: apds9960_binary_sensor
|
||||
direction: up
|
||||
name: APDS9960 Up
|
||||
device_class: motion
|
||||
filters:
|
||||
- invert
|
||||
- delayed_on: 20ms
|
||||
- delayed_off: 20ms
|
||||
- lambda: "return false;"
|
||||
on_state:
|
||||
- logger.log: New state
|
||||
- platform: apds9960
|
||||
direction: down
|
||||
name: APDS9960 Down
|
||||
- platform: apds9960
|
||||
direction: left
|
||||
name: APDS9960 Left
|
||||
- platform: apds9960
|
||||
direction: right
|
||||
name: APDS9960 Right
|
||||
|
||||
sensor:
|
||||
- platform: apds9960
|
||||
type: proximity
|
||||
name: APDS9960 Proximity
|
||||
- platform: apds9960
|
||||
type: clear
|
||||
name: APDS9960 Clear
|
||||
- platform: apds9960
|
||||
type: red
|
||||
name: APDS9960 Red
|
||||
- platform: apds9960
|
||||
type: green
|
||||
name: APDS9960 Green
|
||||
- platform: apds9960
|
||||
type: blue
|
||||
name: APDS9960 Blue
|
48
tests/components/apds9960/test.esp32-c3.yaml
Normal file
48
tests/components/apds9960/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,48 @@
|
|||
i2c:
|
||||
- id: i2c_bme280
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
apds9960:
|
||||
address: 0x20
|
||||
update_interval: 60s
|
||||
|
||||
binary_sensor:
|
||||
- platform: apds9960
|
||||
id: apds9960_binary_sensor
|
||||
direction: up
|
||||
name: APDS9960 Up
|
||||
device_class: motion
|
||||
filters:
|
||||
- invert
|
||||
- delayed_on: 20ms
|
||||
- delayed_off: 20ms
|
||||
- lambda: "return false;"
|
||||
on_state:
|
||||
- logger.log: New state
|
||||
- platform: apds9960
|
||||
direction: down
|
||||
name: APDS9960 Down
|
||||
- platform: apds9960
|
||||
direction: left
|
||||
name: APDS9960 Left
|
||||
- platform: apds9960
|
||||
direction: right
|
||||
name: APDS9960 Right
|
||||
|
||||
sensor:
|
||||
- platform: apds9960
|
||||
type: proximity
|
||||
name: APDS9960 Proximity
|
||||
- platform: apds9960
|
||||
type: clear
|
||||
name: APDS9960 Clear
|
||||
- platform: apds9960
|
||||
type: red
|
||||
name: APDS9960 Red
|
||||
- platform: apds9960
|
||||
type: green
|
||||
name: APDS9960 Green
|
||||
- platform: apds9960
|
||||
type: blue
|
||||
name: APDS9960 Blue
|
48
tests/components/apds9960/test.esp32-idf.yaml
Normal file
48
tests/components/apds9960/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,48 @@
|
|||
i2c:
|
||||
- id: i2c_bme280
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
apds9960:
|
||||
address: 0x20
|
||||
update_interval: 60s
|
||||
|
||||
binary_sensor:
|
||||
- platform: apds9960
|
||||
id: apds9960_binary_sensor
|
||||
direction: up
|
||||
name: APDS9960 Up
|
||||
device_class: motion
|
||||
filters:
|
||||
- invert
|
||||
- delayed_on: 20ms
|
||||
- delayed_off: 20ms
|
||||
- lambda: "return false;"
|
||||
on_state:
|
||||
- logger.log: New state
|
||||
- platform: apds9960
|
||||
direction: down
|
||||
name: APDS9960 Down
|
||||
- platform: apds9960
|
||||
direction: left
|
||||
name: APDS9960 Left
|
||||
- platform: apds9960
|
||||
direction: right
|
||||
name: APDS9960 Right
|
||||
|
||||
sensor:
|
||||
- platform: apds9960
|
||||
type: proximity
|
||||
name: APDS9960 Proximity
|
||||
- platform: apds9960
|
||||
type: clear
|
||||
name: APDS9960 Clear
|
||||
- platform: apds9960
|
||||
type: red
|
||||
name: APDS9960 Red
|
||||
- platform: apds9960
|
||||
type: green
|
||||
name: APDS9960 Green
|
||||
- platform: apds9960
|
||||
type: blue
|
||||
name: APDS9960 Blue
|
48
tests/components/apds9960/test.esp32.yaml
Normal file
48
tests/components/apds9960/test.esp32.yaml
Normal file
|
@ -0,0 +1,48 @@
|
|||
i2c:
|
||||
- id: i2c_bme280
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
apds9960:
|
||||
address: 0x20
|
||||
update_interval: 60s
|
||||
|
||||
binary_sensor:
|
||||
- platform: apds9960
|
||||
id: apds9960_binary_sensor
|
||||
direction: up
|
||||
name: APDS9960 Up
|
||||
device_class: motion
|
||||
filters:
|
||||
- invert
|
||||
- delayed_on: 20ms
|
||||
- delayed_off: 20ms
|
||||
- lambda: "return false;"
|
||||
on_state:
|
||||
- logger.log: New state
|
||||
- platform: apds9960
|
||||
direction: down
|
||||
name: APDS9960 Down
|
||||
- platform: apds9960
|
||||
direction: left
|
||||
name: APDS9960 Left
|
||||
- platform: apds9960
|
||||
direction: right
|
||||
name: APDS9960 Right
|
||||
|
||||
sensor:
|
||||
- platform: apds9960
|
||||
type: proximity
|
||||
name: APDS9960 Proximity
|
||||
- platform: apds9960
|
||||
type: clear
|
||||
name: APDS9960 Clear
|
||||
- platform: apds9960
|
||||
type: red
|
||||
name: APDS9960 Red
|
||||
- platform: apds9960
|
||||
type: green
|
||||
name: APDS9960 Green
|
||||
- platform: apds9960
|
||||
type: blue
|
||||
name: APDS9960 Blue
|
48
tests/components/apds9960/test.esp8266.yaml
Normal file
48
tests/components/apds9960/test.esp8266.yaml
Normal file
|
@ -0,0 +1,48 @@
|
|||
i2c:
|
||||
- id: i2c_bme280
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
apds9960:
|
||||
address: 0x20
|
||||
update_interval: 60s
|
||||
|
||||
binary_sensor:
|
||||
- platform: apds9960
|
||||
id: apds9960_binary_sensor
|
||||
direction: up
|
||||
name: APDS9960 Up
|
||||
device_class: motion
|
||||
filters:
|
||||
- invert
|
||||
- delayed_on: 20ms
|
||||
- delayed_off: 20ms
|
||||
- lambda: "return false;"
|
||||
on_state:
|
||||
- logger.log: New state
|
||||
- platform: apds9960
|
||||
direction: down
|
||||
name: APDS9960 Down
|
||||
- platform: apds9960
|
||||
direction: left
|
||||
name: APDS9960 Left
|
||||
- platform: apds9960
|
||||
direction: right
|
||||
name: APDS9960 Right
|
||||
|
||||
sensor:
|
||||
- platform: apds9960
|
||||
type: proximity
|
||||
name: APDS9960 Proximity
|
||||
- platform: apds9960
|
||||
type: clear
|
||||
name: APDS9960 Clear
|
||||
- platform: apds9960
|
||||
type: red
|
||||
name: APDS9960 Red
|
||||
- platform: apds9960
|
||||
type: green
|
||||
name: APDS9960 Green
|
||||
- platform: apds9960
|
||||
type: blue
|
||||
name: APDS9960 Blue
|
48
tests/components/apds9960/test.rp2040.yaml
Normal file
48
tests/components/apds9960/test.rp2040.yaml
Normal file
|
@ -0,0 +1,48 @@
|
|||
i2c:
|
||||
- id: i2c_bme280
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
apds9960:
|
||||
address: 0x20
|
||||
update_interval: 60s
|
||||
|
||||
binary_sensor:
|
||||
- platform: apds9960
|
||||
id: apds9960_binary_sensor
|
||||
direction: up
|
||||
name: APDS9960 Up
|
||||
device_class: motion
|
||||
filters:
|
||||
- invert
|
||||
- delayed_on: 20ms
|
||||
- delayed_off: 20ms
|
||||
- lambda: "return false;"
|
||||
on_state:
|
||||
- logger.log: New state
|
||||
- platform: apds9960
|
||||
direction: down
|
||||
name: APDS9960 Down
|
||||
- platform: apds9960
|
||||
direction: left
|
||||
name: APDS9960 Left
|
||||
- platform: apds9960
|
||||
direction: right
|
||||
name: APDS9960 Right
|
||||
|
||||
sensor:
|
||||
- platform: apds9960
|
||||
type: proximity
|
||||
name: APDS9960 Proximity
|
||||
- platform: apds9960
|
||||
type: clear
|
||||
name: APDS9960 Clear
|
||||
- platform: apds9960
|
||||
type: red
|
||||
name: APDS9960 Red
|
||||
- platform: apds9960
|
||||
type: green
|
||||
name: APDS9960 Green
|
||||
- platform: apds9960
|
||||
type: blue
|
||||
name: APDS9960 Blue
|
50
tests/components/api/test.esp32-c3-idf.yaml
Normal file
50
tests/components/api/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,50 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
api:
|
||||
port: 8000
|
||||
password: pwd
|
||||
reboot_timeout: 0min
|
||||
encryption:
|
||||
key: bOFFzzvfpg5DB94DuBGLXD/hMnhpDKgP9UQyBulwWVU=
|
||||
services:
|
||||
- service: hello_world
|
||||
variables:
|
||||
name: string
|
||||
then:
|
||||
- logger.log:
|
||||
format: Hello World %s!
|
||||
args:
|
||||
- name.c_str()
|
||||
- service: empty_service
|
||||
then:
|
||||
- logger.log: Service Called
|
||||
- service: all_types
|
||||
variables:
|
||||
bool_: bool
|
||||
int_: int
|
||||
float_: float
|
||||
string_: string
|
||||
then:
|
||||
- logger.log: Something happened
|
||||
- service: array_types
|
||||
variables:
|
||||
bool_arr: bool[]
|
||||
int_arr: int[]
|
||||
float_arr: float[]
|
||||
string_arr: string[]
|
||||
then:
|
||||
- logger.log:
|
||||
# yamllint disable rule:line-length
|
||||
format: "Bool: %s (%u), Int: %d (%u), Float: %f (%u), String: %s (%u)"
|
||||
# yamllint enable rule:line-length
|
||||
args:
|
||||
- YESNO(bool_arr[0])
|
||||
- bool_arr.size()
|
||||
- int_arr[0]
|
||||
- int_arr.size()
|
||||
- float_arr[0]
|
||||
- float_arr.size()
|
||||
- string_arr[0].c_str()
|
||||
- string_arr.size()
|
50
tests/components/api/test.esp32-c3.yaml
Normal file
50
tests/components/api/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,50 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
api:
|
||||
port: 8000
|
||||
password: pwd
|
||||
reboot_timeout: 0min
|
||||
encryption:
|
||||
key: bOFFzzvfpg5DB94DuBGLXD/hMnhpDKgP9UQyBulwWVU=
|
||||
services:
|
||||
- service: hello_world
|
||||
variables:
|
||||
name: string
|
||||
then:
|
||||
- logger.log:
|
||||
format: Hello World %s!
|
||||
args:
|
||||
- name.c_str()
|
||||
- service: empty_service
|
||||
then:
|
||||
- logger.log: Service Called
|
||||
- service: all_types
|
||||
variables:
|
||||
bool_: bool
|
||||
int_: int
|
||||
float_: float
|
||||
string_: string
|
||||
then:
|
||||
- logger.log: Something happened
|
||||
- service: array_types
|
||||
variables:
|
||||
bool_arr: bool[]
|
||||
int_arr: int[]
|
||||
float_arr: float[]
|
||||
string_arr: string[]
|
||||
then:
|
||||
- logger.log:
|
||||
# yamllint disable rule:line-length
|
||||
format: "Bool: %s (%u), Int: %d (%u), Float: %f (%u), String: %s (%u)"
|
||||
# yamllint enable rule:line-length
|
||||
args:
|
||||
- YESNO(bool_arr[0])
|
||||
- bool_arr.size()
|
||||
- int_arr[0]
|
||||
- int_arr.size()
|
||||
- float_arr[0]
|
||||
- float_arr.size()
|
||||
- string_arr[0].c_str()
|
||||
- string_arr.size()
|
50
tests/components/api/test.esp32-idf.yaml
Normal file
50
tests/components/api/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,50 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
api:
|
||||
port: 8000
|
||||
password: pwd
|
||||
reboot_timeout: 0min
|
||||
encryption:
|
||||
key: bOFFzzvfpg5DB94DuBGLXD/hMnhpDKgP9UQyBulwWVU=
|
||||
services:
|
||||
- service: hello_world
|
||||
variables:
|
||||
name: string
|
||||
then:
|
||||
- logger.log:
|
||||
format: Hello World %s!
|
||||
args:
|
||||
- name.c_str()
|
||||
- service: empty_service
|
||||
then:
|
||||
- logger.log: Service Called
|
||||
- service: all_types
|
||||
variables:
|
||||
bool_: bool
|
||||
int_: int
|
||||
float_: float
|
||||
string_: string
|
||||
then:
|
||||
- logger.log: Something happened
|
||||
- service: array_types
|
||||
variables:
|
||||
bool_arr: bool[]
|
||||
int_arr: int[]
|
||||
float_arr: float[]
|
||||
string_arr: string[]
|
||||
then:
|
||||
- logger.log:
|
||||
# yamllint disable rule:line-length
|
||||
format: "Bool: %s (%u), Int: %d (%u), Float: %f (%u), String: %s (%u)"
|
||||
# yamllint enable rule:line-length
|
||||
args:
|
||||
- YESNO(bool_arr[0])
|
||||
- bool_arr.size()
|
||||
- int_arr[0]
|
||||
- int_arr.size()
|
||||
- float_arr[0]
|
||||
- float_arr.size()
|
||||
- string_arr[0].c_str()
|
||||
- string_arr.size()
|
50
tests/components/api/test.esp32.yaml
Normal file
50
tests/components/api/test.esp32.yaml
Normal file
|
@ -0,0 +1,50 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
api:
|
||||
port: 8000
|
||||
password: pwd
|
||||
reboot_timeout: 0min
|
||||
encryption:
|
||||
key: bOFFzzvfpg5DB94DuBGLXD/hMnhpDKgP9UQyBulwWVU=
|
||||
services:
|
||||
- service: hello_world
|
||||
variables:
|
||||
name: string
|
||||
then:
|
||||
- logger.log:
|
||||
format: Hello World %s!
|
||||
args:
|
||||
- name.c_str()
|
||||
- service: empty_service
|
||||
then:
|
||||
- logger.log: Service Called
|
||||
- service: all_types
|
||||
variables:
|
||||
bool_: bool
|
||||
int_: int
|
||||
float_: float
|
||||
string_: string
|
||||
then:
|
||||
- logger.log: Something happened
|
||||
- service: array_types
|
||||
variables:
|
||||
bool_arr: bool[]
|
||||
int_arr: int[]
|
||||
float_arr: float[]
|
||||
string_arr: string[]
|
||||
then:
|
||||
- logger.log:
|
||||
# yamllint disable rule:line-length
|
||||
format: "Bool: %s (%u), Int: %d (%u), Float: %f (%u), String: %s (%u)"
|
||||
# yamllint enable rule:line-length
|
||||
args:
|
||||
- YESNO(bool_arr[0])
|
||||
- bool_arr.size()
|
||||
- int_arr[0]
|
||||
- int_arr.size()
|
||||
- float_arr[0]
|
||||
- float_arr.size()
|
||||
- string_arr[0].c_str()
|
||||
- string_arr.size()
|
50
tests/components/api/test.esp8266.yaml
Normal file
50
tests/components/api/test.esp8266.yaml
Normal file
|
@ -0,0 +1,50 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
api:
|
||||
port: 8000
|
||||
password: pwd
|
||||
reboot_timeout: 0min
|
||||
encryption:
|
||||
key: bOFFzzvfpg5DB94DuBGLXD/hMnhpDKgP9UQyBulwWVU=
|
||||
services:
|
||||
- service: hello_world
|
||||
variables:
|
||||
name: string
|
||||
then:
|
||||
- logger.log:
|
||||
format: Hello World %s!
|
||||
args:
|
||||
- name.c_str()
|
||||
- service: empty_service
|
||||
then:
|
||||
- logger.log: Service Called
|
||||
- service: all_types
|
||||
variables:
|
||||
bool_: bool
|
||||
int_: int
|
||||
float_: float
|
||||
string_: string
|
||||
then:
|
||||
- logger.log: Something happened
|
||||
- service: array_types
|
||||
variables:
|
||||
bool_arr: bool[]
|
||||
int_arr: int[]
|
||||
float_arr: float[]
|
||||
string_arr: string[]
|
||||
then:
|
||||
- logger.log:
|
||||
# yamllint disable rule:line-length
|
||||
format: "Bool: %s (%u), Int: %d (%u), Float: %f (%u), String: %s (%u)"
|
||||
# yamllint enable rule:line-length
|
||||
args:
|
||||
- YESNO(bool_arr[0])
|
||||
- bool_arr.size()
|
||||
- int_arr[0]
|
||||
- int_arr.size()
|
||||
- float_arr[0]
|
||||
- float_arr.size()
|
||||
- string_arr[0].c_str()
|
||||
- string_arr.size()
|
50
tests/components/api/test.rp2040.yaml
Normal file
50
tests/components/api/test.rp2040.yaml
Normal file
|
@ -0,0 +1,50 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
api:
|
||||
port: 8000
|
||||
password: pwd
|
||||
reboot_timeout: 0min
|
||||
encryption:
|
||||
key: bOFFzzvfpg5DB94DuBGLXD/hMnhpDKgP9UQyBulwWVU=
|
||||
services:
|
||||
- service: hello_world
|
||||
variables:
|
||||
name: string
|
||||
then:
|
||||
- logger.log:
|
||||
format: Hello World %s!
|
||||
args:
|
||||
- name.c_str()
|
||||
- service: empty_service
|
||||
then:
|
||||
- logger.log: Service Called
|
||||
- service: all_types
|
||||
variables:
|
||||
bool_: bool
|
||||
int_: int
|
||||
float_: float
|
||||
string_: string
|
||||
then:
|
||||
- logger.log: Something happened
|
||||
- service: array_types
|
||||
variables:
|
||||
bool_arr: bool[]
|
||||
int_arr: int[]
|
||||
float_arr: float[]
|
||||
string_arr: string[]
|
||||
then:
|
||||
- logger.log:
|
||||
# yamllint disable rule:line-length
|
||||
format: "Bool: %s (%u), Int: %d (%u), Float: %f (%u), String: %s (%u)"
|
||||
# yamllint enable rule:line-length
|
||||
args:
|
||||
- YESNO(bool_arr[0])
|
||||
- bool_arr.size()
|
||||
- int_arr[0]
|
||||
- int_arr.size()
|
||||
- float_arr[0]
|
||||
- float_arr.size()
|
||||
- string_arr[0].c_str()
|
||||
- string_arr.size()
|
18
tests/components/as3935_i2c/test.esp32-c3-idf.yaml
Normal file
18
tests/components/as3935_i2c/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
i2c:
|
||||
- id: i2c_as3935
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
as3935_i2c:
|
||||
irq_pin: 6
|
||||
|
||||
binary_sensor:
|
||||
- platform: as3935
|
||||
name: Storm Alert
|
||||
|
||||
sensor:
|
||||
- platform: as3935
|
||||
lightning_energy:
|
||||
name: Lightning Energy
|
||||
distance:
|
||||
name: Distance Storm
|
18
tests/components/as3935_i2c/test.esp32-c3.yaml
Normal file
18
tests/components/as3935_i2c/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
i2c:
|
||||
- id: i2c_as3935
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
as3935_i2c:
|
||||
irq_pin: 6
|
||||
|
||||
binary_sensor:
|
||||
- platform: as3935
|
||||
name: Storm Alert
|
||||
|
||||
sensor:
|
||||
- platform: as3935
|
||||
lightning_energy:
|
||||
name: Lightning Energy
|
||||
distance:
|
||||
name: Distance Storm
|
18
tests/components/as3935_i2c/test.esp32-idf.yaml
Normal file
18
tests/components/as3935_i2c/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
i2c:
|
||||
- id: i2c_as3935
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
as3935_i2c:
|
||||
irq_pin: 12
|
||||
|
||||
binary_sensor:
|
||||
- platform: as3935
|
||||
name: Storm Alert
|
||||
|
||||
sensor:
|
||||
- platform: as3935
|
||||
lightning_energy:
|
||||
name: Lightning Energy
|
||||
distance:
|
||||
name: Distance Storm
|
18
tests/components/as3935_i2c/test.esp32.yaml
Normal file
18
tests/components/as3935_i2c/test.esp32.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
i2c:
|
||||
- id: i2c_as3935
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
as3935_i2c:
|
||||
irq_pin: 12
|
||||
|
||||
binary_sensor:
|
||||
- platform: as3935
|
||||
name: Storm Alert
|
||||
|
||||
sensor:
|
||||
- platform: as3935
|
||||
lightning_energy:
|
||||
name: Lightning Energy
|
||||
distance:
|
||||
name: Distance Storm
|
18
tests/components/as3935_i2c/test.esp8266.yaml
Normal file
18
tests/components/as3935_i2c/test.esp8266.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
i2c:
|
||||
- id: i2c_as3935
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
as3935_i2c:
|
||||
irq_pin: 15
|
||||
|
||||
binary_sensor:
|
||||
- platform: as3935
|
||||
name: Storm Alert
|
||||
|
||||
sensor:
|
||||
- platform: as3935
|
||||
lightning_energy:
|
||||
name: Lightning Energy
|
||||
distance:
|
||||
name: Distance Storm
|
18
tests/components/as3935_i2c/test.rp2040.yaml
Normal file
18
tests/components/as3935_i2c/test.rp2040.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
i2c:
|
||||
- id: i2c_as3935
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
as3935_i2c:
|
||||
irq_pin: 6
|
||||
|
||||
binary_sensor:
|
||||
- platform: as3935
|
||||
name: Storm Alert
|
||||
|
||||
sensor:
|
||||
- platform: as3935
|
||||
lightning_energy:
|
||||
name: Lightning Energy
|
||||
distance:
|
||||
name: Distance Storm
|
20
tests/components/as3935_spi/test.esp32-c3-idf.yaml
Normal file
20
tests/components/as3935_spi/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
spi:
|
||||
- id: spi_as3935
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
as3935_spi:
|
||||
cs_pin: 2
|
||||
irq_pin: 3
|
||||
|
||||
binary_sensor:
|
||||
- platform: as3935
|
||||
name: Storm Alert
|
||||
|
||||
sensor:
|
||||
- platform: as3935
|
||||
lightning_energy:
|
||||
name: Lightning Energy
|
||||
distance:
|
||||
name: Distance Storm
|
20
tests/components/as3935_spi/test.esp32-c3.yaml
Normal file
20
tests/components/as3935_spi/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
spi:
|
||||
- id: spi_as3935
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
as3935_spi:
|
||||
cs_pin: 2
|
||||
irq_pin: 3
|
||||
|
||||
binary_sensor:
|
||||
- platform: as3935
|
||||
name: Storm Alert
|
||||
|
||||
sensor:
|
||||
- platform: as3935
|
||||
lightning_energy:
|
||||
name: Lightning Energy
|
||||
distance:
|
||||
name: Distance Storm
|
20
tests/components/as3935_spi/test.esp32-idf.yaml
Normal file
20
tests/components/as3935_spi/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
spi:
|
||||
- id: spi_as3935
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
as3935_spi:
|
||||
cs_pin: 12
|
||||
irq_pin: 13
|
||||
|
||||
binary_sensor:
|
||||
- platform: as3935
|
||||
name: Storm Alert
|
||||
|
||||
sensor:
|
||||
- platform: as3935
|
||||
lightning_energy:
|
||||
name: Lightning Energy
|
||||
distance:
|
||||
name: Distance Storm
|
20
tests/components/as3935_spi/test.esp32.yaml
Normal file
20
tests/components/as3935_spi/test.esp32.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
spi:
|
||||
- id: spi_as3935
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
as3935_spi:
|
||||
cs_pin: 12
|
||||
irq_pin: 13
|
||||
|
||||
binary_sensor:
|
||||
- platform: as3935
|
||||
name: Storm Alert
|
||||
|
||||
sensor:
|
||||
- platform: as3935
|
||||
lightning_energy:
|
||||
name: Lightning Energy
|
||||
distance:
|
||||
name: Distance Storm
|
20
tests/components/as3935_spi/test.esp8266.yaml
Normal file
20
tests/components/as3935_spi/test.esp8266.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
spi:
|
||||
- id: spi_as3935
|
||||
clk_pin: 14
|
||||
mosi_pin: 13
|
||||
miso_pin: 12
|
||||
|
||||
as3935_spi:
|
||||
cs_pin: 15
|
||||
irq_pin: 16
|
||||
|
||||
binary_sensor:
|
||||
- platform: as3935
|
||||
name: Storm Alert
|
||||
|
||||
sensor:
|
||||
- platform: as3935
|
||||
lightning_energy:
|
||||
name: Lightning Energy
|
||||
distance:
|
||||
name: Distance Storm
|
20
tests/components/as3935_spi/test.rp2040.yaml
Normal file
20
tests/components/as3935_spi/test.rp2040.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
spi:
|
||||
- id: spi_as3935
|
||||
clk_pin: 2
|
||||
mosi_pin: 3
|
||||
miso_pin: 4
|
||||
|
||||
as3935_spi:
|
||||
cs_pin: 6
|
||||
irq_pin: 7
|
||||
|
||||
binary_sensor:
|
||||
- platform: as3935
|
||||
name: Storm Alert
|
||||
|
||||
sensor:
|
||||
- platform: as3935
|
||||
lightning_energy:
|
||||
name: Lightning Energy
|
||||
distance:
|
||||
name: Distance Storm
|
27
tests/components/as5600/test.esp32-c3-idf.yaml
Normal file
27
tests/components/as5600/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,27 @@
|
|||
i2c:
|
||||
- id: i2c_as5600
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
as5600:
|
||||
dir_pin: 6
|
||||
direction: clockwise
|
||||
start_position: 90deg
|
||||
range: 180deg
|
||||
watchdog: true
|
||||
power_mode: low1
|
||||
hysteresis: lsb1
|
||||
slow_filter: 8x
|
||||
fast_filter: lsb6
|
||||
|
||||
sensor:
|
||||
- platform: as5600
|
||||
name: AS5600 Position
|
||||
raw_position:
|
||||
name: AS5600 Raw Position
|
||||
gain:
|
||||
name: AS5600 Gain
|
||||
magnitude:
|
||||
name: AS5600 Magnitude
|
||||
status:
|
||||
name: AS5600 Status
|
27
tests/components/as5600/test.esp32-c3.yaml
Normal file
27
tests/components/as5600/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,27 @@
|
|||
i2c:
|
||||
- id: i2c_as5600
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
as5600:
|
||||
dir_pin: 6
|
||||
direction: clockwise
|
||||
start_position: 90deg
|
||||
range: 180deg
|
||||
watchdog: true
|
||||
power_mode: low1
|
||||
hysteresis: lsb1
|
||||
slow_filter: 8x
|
||||
fast_filter: lsb6
|
||||
|
||||
sensor:
|
||||
- platform: as5600
|
||||
name: AS5600 Position
|
||||
raw_position:
|
||||
name: AS5600 Raw Position
|
||||
gain:
|
||||
name: AS5600 Gain
|
||||
magnitude:
|
||||
name: AS5600 Magnitude
|
||||
status:
|
||||
name: AS5600 Status
|
27
tests/components/as5600/test.esp32-idf.yaml
Normal file
27
tests/components/as5600/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,27 @@
|
|||
i2c:
|
||||
- id: i2c_as5600
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
as5600:
|
||||
dir_pin: 12
|
||||
direction: clockwise
|
||||
start_position: 90deg
|
||||
range: 180deg
|
||||
watchdog: true
|
||||
power_mode: low1
|
||||
hysteresis: lsb1
|
||||
slow_filter: 8x
|
||||
fast_filter: lsb6
|
||||
|
||||
sensor:
|
||||
- platform: as5600
|
||||
name: AS5600 Position
|
||||
raw_position:
|
||||
name: AS5600 Raw Position
|
||||
gain:
|
||||
name: AS5600 Gain
|
||||
magnitude:
|
||||
name: AS5600 Magnitude
|
||||
status:
|
||||
name: AS5600 Status
|
27
tests/components/as5600/test.esp32.yaml
Normal file
27
tests/components/as5600/test.esp32.yaml
Normal file
|
@ -0,0 +1,27 @@
|
|||
i2c:
|
||||
- id: i2c_as5600
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
as5600:
|
||||
dir_pin: 12
|
||||
direction: clockwise
|
||||
start_position: 90deg
|
||||
range: 180deg
|
||||
watchdog: true
|
||||
power_mode: low1
|
||||
hysteresis: lsb1
|
||||
slow_filter: 8x
|
||||
fast_filter: lsb6
|
||||
|
||||
sensor:
|
||||
- platform: as5600
|
||||
name: AS5600 Position
|
||||
raw_position:
|
||||
name: AS5600 Raw Position
|
||||
gain:
|
||||
name: AS5600 Gain
|
||||
magnitude:
|
||||
name: AS5600 Magnitude
|
||||
status:
|
||||
name: AS5600 Status
|
27
tests/components/as5600/test.esp8266.yaml
Normal file
27
tests/components/as5600/test.esp8266.yaml
Normal file
|
@ -0,0 +1,27 @@
|
|||
i2c:
|
||||
- id: i2c_as5600
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
as5600:
|
||||
dir_pin: 15
|
||||
direction: clockwise
|
||||
start_position: 90deg
|
||||
range: 180deg
|
||||
watchdog: true
|
||||
power_mode: low1
|
||||
hysteresis: lsb1
|
||||
slow_filter: 8x
|
||||
fast_filter: lsb6
|
||||
|
||||
sensor:
|
||||
- platform: as5600
|
||||
name: AS5600 Position
|
||||
raw_position:
|
||||
name: AS5600 Raw Position
|
||||
gain:
|
||||
name: AS5600 Gain
|
||||
magnitude:
|
||||
name: AS5600 Magnitude
|
||||
status:
|
||||
name: AS5600 Status
|
27
tests/components/as5600/test.rp2040.yaml
Normal file
27
tests/components/as5600/test.rp2040.yaml
Normal file
|
@ -0,0 +1,27 @@
|
|||
i2c:
|
||||
- id: i2c_as5600
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
as5600:
|
||||
dir_pin: 6
|
||||
direction: clockwise
|
||||
start_position: 90deg
|
||||
range: 180deg
|
||||
watchdog: true
|
||||
power_mode: low1
|
||||
hysteresis: lsb1
|
||||
slow_filter: 8x
|
||||
fast_filter: lsb6
|
||||
|
||||
sensor:
|
||||
- platform: as5600
|
||||
name: AS5600 Position
|
||||
raw_position:
|
||||
name: AS5600 Raw Position
|
||||
gain:
|
||||
name: AS5600 Gain
|
||||
magnitude:
|
||||
name: AS5600 Magnitude
|
||||
status:
|
||||
name: AS5600 Status
|
31
tests/components/as7341/test.esp32-c3-idf.yaml
Normal file
31
tests/components/as7341/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,31 @@
|
|||
i2c:
|
||||
- id: i2c_as5600
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: as7341
|
||||
update_interval: 15s
|
||||
gain: X8
|
||||
atime: 120
|
||||
astep: 99
|
||||
f1:
|
||||
name: F1
|
||||
f2:
|
||||
name: F2
|
||||
f3:
|
||||
name: F3
|
||||
f4:
|
||||
name: F4
|
||||
f5:
|
||||
name: F5
|
||||
f6:
|
||||
name: F6
|
||||
f7:
|
||||
name: F7
|
||||
f8:
|
||||
name: F8
|
||||
clear:
|
||||
name: Clear
|
||||
nir:
|
||||
name: NIR
|
31
tests/components/as7341/test.esp32-c3.yaml
Normal file
31
tests/components/as7341/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,31 @@
|
|||
i2c:
|
||||
- id: i2c_as5600
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: as7341
|
||||
update_interval: 15s
|
||||
gain: X8
|
||||
atime: 120
|
||||
astep: 99
|
||||
f1:
|
||||
name: F1
|
||||
f2:
|
||||
name: F2
|
||||
f3:
|
||||
name: F3
|
||||
f4:
|
||||
name: F4
|
||||
f5:
|
||||
name: F5
|
||||
f6:
|
||||
name: F6
|
||||
f7:
|
||||
name: F7
|
||||
f8:
|
||||
name: F8
|
||||
clear:
|
||||
name: Clear
|
||||
nir:
|
||||
name: NIR
|
31
tests/components/as7341/test.esp32-idf.yaml
Normal file
31
tests/components/as7341/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,31 @@
|
|||
i2c:
|
||||
- id: i2c_as5600
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: as7341
|
||||
update_interval: 15s
|
||||
gain: X8
|
||||
atime: 120
|
||||
astep: 99
|
||||
f1:
|
||||
name: F1
|
||||
f2:
|
||||
name: F2
|
||||
f3:
|
||||
name: F3
|
||||
f4:
|
||||
name: F4
|
||||
f5:
|
||||
name: F5
|
||||
f6:
|
||||
name: F6
|
||||
f7:
|
||||
name: F7
|
||||
f8:
|
||||
name: F8
|
||||
clear:
|
||||
name: Clear
|
||||
nir:
|
||||
name: NIR
|
31
tests/components/as7341/test.esp32.yaml
Normal file
31
tests/components/as7341/test.esp32.yaml
Normal file
|
@ -0,0 +1,31 @@
|
|||
i2c:
|
||||
- id: i2c_as5600
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: as7341
|
||||
update_interval: 15s
|
||||
gain: X8
|
||||
atime: 120
|
||||
astep: 99
|
||||
f1:
|
||||
name: F1
|
||||
f2:
|
||||
name: F2
|
||||
f3:
|
||||
name: F3
|
||||
f4:
|
||||
name: F4
|
||||
f5:
|
||||
name: F5
|
||||
f6:
|
||||
name: F6
|
||||
f7:
|
||||
name: F7
|
||||
f8:
|
||||
name: F8
|
||||
clear:
|
||||
name: Clear
|
||||
nir:
|
||||
name: NIR
|
31
tests/components/as7341/test.esp8266.yaml
Normal file
31
tests/components/as7341/test.esp8266.yaml
Normal file
|
@ -0,0 +1,31 @@
|
|||
i2c:
|
||||
- id: i2c_as5600
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: as7341
|
||||
update_interval: 15s
|
||||
gain: X8
|
||||
atime: 120
|
||||
astep: 99
|
||||
f1:
|
||||
name: F1
|
||||
f2:
|
||||
name: F2
|
||||
f3:
|
||||
name: F3
|
||||
f4:
|
||||
name: F4
|
||||
f5:
|
||||
name: F5
|
||||
f6:
|
||||
name: F6
|
||||
f7:
|
||||
name: F7
|
||||
f8:
|
||||
name: F8
|
||||
clear:
|
||||
name: Clear
|
||||
nir:
|
||||
name: NIR
|
31
tests/components/as7341/test.rp2040.yaml
Normal file
31
tests/components/as7341/test.rp2040.yaml
Normal file
|
@ -0,0 +1,31 @@
|
|||
i2c:
|
||||
- id: i2c_as5600
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: as7341
|
||||
update_interval: 15s
|
||||
gain: X8
|
||||
atime: 120
|
||||
astep: 99
|
||||
f1:
|
||||
name: F1
|
||||
f2:
|
||||
name: F2
|
||||
f3:
|
||||
name: F3
|
||||
f4:
|
||||
name: F4
|
||||
f5:
|
||||
name: F5
|
||||
f6:
|
||||
name: F6
|
||||
f7:
|
||||
name: F7
|
||||
f8:
|
||||
name: F8
|
||||
clear:
|
||||
name: Clear
|
||||
nir:
|
||||
name: NIR
|
13
tests/components/atc_mithermometer/test.esp32-c3-idf.yaml
Normal file
13
tests/components/atc_mithermometer/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: atc_mithermometer
|
||||
mac_address: A4:C1:38:4E:16:78
|
||||
temperature:
|
||||
name: ATC Temperature
|
||||
humidity:
|
||||
name: ATC Humidity
|
||||
battery_level:
|
||||
name: ATC Battery-Level
|
||||
battery_voltage:
|
||||
name: ATC Battery-Voltage
|
13
tests/components/atc_mithermometer/test.esp32-c3.yaml
Normal file
13
tests/components/atc_mithermometer/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: atc_mithermometer
|
||||
mac_address: A4:C1:38:4E:16:78
|
||||
temperature:
|
||||
name: ATC Temperature
|
||||
humidity:
|
||||
name: ATC Humidity
|
||||
battery_level:
|
||||
name: ATC Battery-Level
|
||||
battery_voltage:
|
||||
name: ATC Battery-Voltage
|
13
tests/components/atc_mithermometer/test.esp32-idf.yaml
Normal file
13
tests/components/atc_mithermometer/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: atc_mithermometer
|
||||
mac_address: A4:C1:38:4E:16:78
|
||||
temperature:
|
||||
name: ATC Temperature
|
||||
humidity:
|
||||
name: ATC Humidity
|
||||
battery_level:
|
||||
name: ATC Battery-Level
|
||||
battery_voltage:
|
||||
name: ATC Battery-Voltage
|
13
tests/components/atc_mithermometer/test.esp32.yaml
Normal file
13
tests/components/atc_mithermometer/test.esp32.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: atc_mithermometer
|
||||
mac_address: A4:C1:38:4E:16:78
|
||||
temperature:
|
||||
name: ATC Temperature
|
||||
humidity:
|
||||
name: ATC Humidity
|
||||
battery_level:
|
||||
name: ATC Battery-Level
|
||||
battery_voltage:
|
||||
name: ATC Battery-Voltage
|
26
tests/components/atm90e26/test.esp32-c3-idf.yaml
Normal file
26
tests/components/atm90e26/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,26 @@
|
|||
spi:
|
||||
- id: spi_atm90e26
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
sensor:
|
||||
- platform: atm90e26
|
||||
cs_pin: 8
|
||||
voltage:
|
||||
name: Line Voltage
|
||||
current:
|
||||
name: CT Amps
|
||||
power:
|
||||
name: Active Watts
|
||||
power_factor:
|
||||
name: Power Factor
|
||||
frequency:
|
||||
name: Line Frequency
|
||||
line_frequency: 50Hz
|
||||
meter_constant: 1000
|
||||
pl_const: 1429876
|
||||
gain_pga: 1X
|
||||
gain_metering: 7481
|
||||
gain_voltage: 26400
|
||||
gain_ct: 31251
|
26
tests/components/atm90e26/test.esp32-c3.yaml
Normal file
26
tests/components/atm90e26/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,26 @@
|
|||
spi:
|
||||
- id: spi_atm90e26
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
sensor:
|
||||
- platform: atm90e26
|
||||
cs_pin: 8
|
||||
voltage:
|
||||
name: Line Voltage
|
||||
current:
|
||||
name: CT Amps
|
||||
power:
|
||||
name: Active Watts
|
||||
power_factor:
|
||||
name: Power Factor
|
||||
frequency:
|
||||
name: Line Frequency
|
||||
line_frequency: 50Hz
|
||||
meter_constant: 1000
|
||||
pl_const: 1429876
|
||||
gain_pga: 1X
|
||||
gain_metering: 7481
|
||||
gain_voltage: 26400
|
||||
gain_ct: 31251
|
26
tests/components/atm90e26/test.esp32-idf.yaml
Normal file
26
tests/components/atm90e26/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,26 @@
|
|||
spi:
|
||||
- id: spi_atm90e26
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
sensor:
|
||||
- platform: atm90e26
|
||||
cs_pin: 13
|
||||
voltage:
|
||||
name: Line Voltage
|
||||
current:
|
||||
name: CT Amps
|
||||
power:
|
||||
name: Active Watts
|
||||
power_factor:
|
||||
name: Power Factor
|
||||
frequency:
|
||||
name: Line Frequency
|
||||
line_frequency: 50Hz
|
||||
meter_constant: 1000
|
||||
pl_const: 1429876
|
||||
gain_pga: 1X
|
||||
gain_metering: 7481
|
||||
gain_voltage: 26400
|
||||
gain_ct: 31251
|
26
tests/components/atm90e26/test.esp32.yaml
Normal file
26
tests/components/atm90e26/test.esp32.yaml
Normal file
|
@ -0,0 +1,26 @@
|
|||
spi:
|
||||
- id: spi_atm90e26
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
sensor:
|
||||
- platform: atm90e26
|
||||
cs_pin: 13
|
||||
voltage:
|
||||
name: Line Voltage
|
||||
current:
|
||||
name: CT Amps
|
||||
power:
|
||||
name: Active Watts
|
||||
power_factor:
|
||||
name: Power Factor
|
||||
frequency:
|
||||
name: Line Frequency
|
||||
line_frequency: 50Hz
|
||||
meter_constant: 1000
|
||||
pl_const: 1429876
|
||||
gain_pga: 1X
|
||||
gain_metering: 7481
|
||||
gain_voltage: 26400
|
||||
gain_ct: 31251
|
26
tests/components/atm90e26/test.esp8266.yaml
Normal file
26
tests/components/atm90e26/test.esp8266.yaml
Normal file
|
@ -0,0 +1,26 @@
|
|||
spi:
|
||||
- id: spi_atm90e26
|
||||
clk_pin: 14
|
||||
mosi_pin: 13
|
||||
miso_pin: 12
|
||||
|
||||
sensor:
|
||||
- platform: atm90e26
|
||||
cs_pin: 5
|
||||
voltage:
|
||||
name: Line Voltage
|
||||
current:
|
||||
name: CT Amps
|
||||
power:
|
||||
name: Active Watts
|
||||
power_factor:
|
||||
name: Power Factor
|
||||
frequency:
|
||||
name: Line Frequency
|
||||
line_frequency: 50Hz
|
||||
meter_constant: 1000
|
||||
pl_const: 1429876
|
||||
gain_pga: 1X
|
||||
gain_metering: 7481
|
||||
gain_voltage: 26400
|
||||
gain_ct: 31251
|
26
tests/components/atm90e26/test.rp2040.yaml
Normal file
26
tests/components/atm90e26/test.rp2040.yaml
Normal file
|
@ -0,0 +1,26 @@
|
|||
spi:
|
||||
- id: spi_atm90e26
|
||||
clk_pin: 2
|
||||
mosi_pin: 3
|
||||
miso_pin: 4
|
||||
|
||||
sensor:
|
||||
- platform: atm90e26
|
||||
cs_pin: 5
|
||||
voltage:
|
||||
name: Line Voltage
|
||||
current:
|
||||
name: CT Amps
|
||||
power:
|
||||
name: Active Watts
|
||||
power_factor:
|
||||
name: Power Factor
|
||||
frequency:
|
||||
name: Line Frequency
|
||||
line_frequency: 50Hz
|
||||
meter_constant: 1000
|
||||
pl_const: 1429876
|
||||
gain_pga: 1X
|
||||
gain_metering: 7481
|
||||
gain_voltage: 26400
|
||||
gain_ct: 31251
|
51
tests/components/atm90e32/test.esp32-c3-idf.yaml
Normal file
51
tests/components/atm90e32/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,51 @@
|
|||
spi:
|
||||
- id: spi_atm90e32
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
sensor:
|
||||
- platform: atm90e32
|
||||
cs_pin: 8
|
||||
phase_a:
|
||||
voltage:
|
||||
name: EMON Line Voltage A
|
||||
current:
|
||||
name: EMON CT1 Current
|
||||
power:
|
||||
name: EMON Active Power CT1
|
||||
reactive_power:
|
||||
name: EMON Reactive Power CT1
|
||||
power_factor:
|
||||
name: EMON Power Factor CT1
|
||||
gain_voltage: 7305
|
||||
gain_ct: 27961
|
||||
phase_b:
|
||||
current:
|
||||
name: EMON CT2 Current
|
||||
power:
|
||||
name: EMON Active Power CT2
|
||||
reactive_power:
|
||||
name: EMON Reactive Power CT2
|
||||
power_factor:
|
||||
name: EMON Power Factor CT2
|
||||
gain_voltage: 7305
|
||||
gain_ct: 27961
|
||||
phase_c:
|
||||
current:
|
||||
name: EMON CT3 Current
|
||||
power:
|
||||
name: EMON Active Power CT3
|
||||
reactive_power:
|
||||
name: EMON Reactive Power CT3
|
||||
power_factor:
|
||||
name: EMON Power Factor CT3
|
||||
gain_voltage: 7305
|
||||
gain_ct: 27961
|
||||
frequency:
|
||||
name: EMON Line Frequency
|
||||
chip_temperature:
|
||||
name: EMON Chip Temp A
|
||||
line_frequency: 60Hz
|
||||
current_phases: 3
|
||||
gain_pga: 2X
|
51
tests/components/atm90e32/test.esp32-c3.yaml
Normal file
51
tests/components/atm90e32/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,51 @@
|
|||
spi:
|
||||
- id: spi_atm90e32
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
sensor:
|
||||
- platform: atm90e32
|
||||
cs_pin: 8
|
||||
phase_a:
|
||||
voltage:
|
||||
name: EMON Line Voltage A
|
||||
current:
|
||||
name: EMON CT1 Current
|
||||
power:
|
||||
name: EMON Active Power CT1
|
||||
reactive_power:
|
||||
name: EMON Reactive Power CT1
|
||||
power_factor:
|
||||
name: EMON Power Factor CT1
|
||||
gain_voltage: 7305
|
||||
gain_ct: 27961
|
||||
phase_b:
|
||||
current:
|
||||
name: EMON CT2 Current
|
||||
power:
|
||||
name: EMON Active Power CT2
|
||||
reactive_power:
|
||||
name: EMON Reactive Power CT2
|
||||
power_factor:
|
||||
name: EMON Power Factor CT2
|
||||
gain_voltage: 7305
|
||||
gain_ct: 27961
|
||||
phase_c:
|
||||
current:
|
||||
name: EMON CT3 Current
|
||||
power:
|
||||
name: EMON Active Power CT3
|
||||
reactive_power:
|
||||
name: EMON Reactive Power CT3
|
||||
power_factor:
|
||||
name: EMON Power Factor CT3
|
||||
gain_voltage: 7305
|
||||
gain_ct: 27961
|
||||
frequency:
|
||||
name: EMON Line Frequency
|
||||
chip_temperature:
|
||||
name: EMON Chip Temp A
|
||||
line_frequency: 60Hz
|
||||
current_phases: 3
|
||||
gain_pga: 2X
|
51
tests/components/atm90e32/test.esp32-idf.yaml
Normal file
51
tests/components/atm90e32/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,51 @@
|
|||
spi:
|
||||
- id: spi_atm90e32
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
sensor:
|
||||
- platform: atm90e32
|
||||
cs_pin: 13
|
||||
phase_a:
|
||||
voltage:
|
||||
name: EMON Line Voltage A
|
||||
current:
|
||||
name: EMON CT1 Current
|
||||
power:
|
||||
name: EMON Active Power CT1
|
||||
reactive_power:
|
||||
name: EMON Reactive Power CT1
|
||||
power_factor:
|
||||
name: EMON Power Factor CT1
|
||||
gain_voltage: 7305
|
||||
gain_ct: 27961
|
||||
phase_b:
|
||||
current:
|
||||
name: EMON CT2 Current
|
||||
power:
|
||||
name: EMON Active Power CT2
|
||||
reactive_power:
|
||||
name: EMON Reactive Power CT2
|
||||
power_factor:
|
||||
name: EMON Power Factor CT2
|
||||
gain_voltage: 7305
|
||||
gain_ct: 27961
|
||||
phase_c:
|
||||
current:
|
||||
name: EMON CT3 Current
|
||||
power:
|
||||
name: EMON Active Power CT3
|
||||
reactive_power:
|
||||
name: EMON Reactive Power CT3
|
||||
power_factor:
|
||||
name: EMON Power Factor CT3
|
||||
gain_voltage: 7305
|
||||
gain_ct: 27961
|
||||
frequency:
|
||||
name: EMON Line Frequency
|
||||
chip_temperature:
|
||||
name: EMON Chip Temp A
|
||||
line_frequency: 60Hz
|
||||
current_phases: 3
|
||||
gain_pga: 2X
|
51
tests/components/atm90e32/test.esp32.yaml
Normal file
51
tests/components/atm90e32/test.esp32.yaml
Normal file
|
@ -0,0 +1,51 @@
|
|||
spi:
|
||||
- id: spi_atm90e32
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
sensor:
|
||||
- platform: atm90e32
|
||||
cs_pin: 13
|
||||
phase_a:
|
||||
voltage:
|
||||
name: EMON Line Voltage A
|
||||
current:
|
||||
name: EMON CT1 Current
|
||||
power:
|
||||
name: EMON Active Power CT1
|
||||
reactive_power:
|
||||
name: EMON Reactive Power CT1
|
||||
power_factor:
|
||||
name: EMON Power Factor CT1
|
||||
gain_voltage: 7305
|
||||
gain_ct: 27961
|
||||
phase_b:
|
||||
current:
|
||||
name: EMON CT2 Current
|
||||
power:
|
||||
name: EMON Active Power CT2
|
||||
reactive_power:
|
||||
name: EMON Reactive Power CT2
|
||||
power_factor:
|
||||
name: EMON Power Factor CT2
|
||||
gain_voltage: 7305
|
||||
gain_ct: 27961
|
||||
phase_c:
|
||||
current:
|
||||
name: EMON CT3 Current
|
||||
power:
|
||||
name: EMON Active Power CT3
|
||||
reactive_power:
|
||||
name: EMON Reactive Power CT3
|
||||
power_factor:
|
||||
name: EMON Power Factor CT3
|
||||
gain_voltage: 7305
|
||||
gain_ct: 27961
|
||||
frequency:
|
||||
name: EMON Line Frequency
|
||||
chip_temperature:
|
||||
name: EMON Chip Temp A
|
||||
line_frequency: 60Hz
|
||||
current_phases: 3
|
||||
gain_pga: 2X
|
51
tests/components/atm90e32/test.esp8266.yaml
Normal file
51
tests/components/atm90e32/test.esp8266.yaml
Normal file
|
@ -0,0 +1,51 @@
|
|||
spi:
|
||||
- id: spi_atm90e32
|
||||
clk_pin: 14
|
||||
mosi_pin: 13
|
||||
miso_pin: 12
|
||||
|
||||
sensor:
|
||||
- platform: atm90e32
|
||||
cs_pin: 5
|
||||
phase_a:
|
||||
voltage:
|
||||
name: EMON Line Voltage A
|
||||
current:
|
||||
name: EMON CT1 Current
|
||||
power:
|
||||
name: EMON Active Power CT1
|
||||
reactive_power:
|
||||
name: EMON Reactive Power CT1
|
||||
power_factor:
|
||||
name: EMON Power Factor CT1
|
||||
gain_voltage: 7305
|
||||
gain_ct: 27961
|
||||
phase_b:
|
||||
current:
|
||||
name: EMON CT2 Current
|
||||
power:
|
||||
name: EMON Active Power CT2
|
||||
reactive_power:
|
||||
name: EMON Reactive Power CT2
|
||||
power_factor:
|
||||
name: EMON Power Factor CT2
|
||||
gain_voltage: 7305
|
||||
gain_ct: 27961
|
||||
phase_c:
|
||||
current:
|
||||
name: EMON CT3 Current
|
||||
power:
|
||||
name: EMON Active Power CT3
|
||||
reactive_power:
|
||||
name: EMON Reactive Power CT3
|
||||
power_factor:
|
||||
name: EMON Power Factor CT3
|
||||
gain_voltage: 7305
|
||||
gain_ct: 27961
|
||||
frequency:
|
||||
name: EMON Line Frequency
|
||||
chip_temperature:
|
||||
name: EMON Chip Temp A
|
||||
line_frequency: 60Hz
|
||||
current_phases: 3
|
||||
gain_pga: 2X
|
51
tests/components/atm90e32/test.rp2040.yaml
Normal file
51
tests/components/atm90e32/test.rp2040.yaml
Normal file
|
@ -0,0 +1,51 @@
|
|||
spi:
|
||||
- id: spi_atm90e32
|
||||
clk_pin: 2
|
||||
mosi_pin: 3
|
||||
miso_pin: 4
|
||||
|
||||
sensor:
|
||||
- platform: atm90e32
|
||||
cs_pin: 5
|
||||
phase_a:
|
||||
voltage:
|
||||
name: EMON Line Voltage A
|
||||
current:
|
||||
name: EMON CT1 Current
|
||||
power:
|
||||
name: EMON Active Power CT1
|
||||
reactive_power:
|
||||
name: EMON Reactive Power CT1
|
||||
power_factor:
|
||||
name: EMON Power Factor CT1
|
||||
gain_voltage: 7305
|
||||
gain_ct: 27961
|
||||
phase_b:
|
||||
current:
|
||||
name: EMON CT2 Current
|
||||
power:
|
||||
name: EMON Active Power CT2
|
||||
reactive_power:
|
||||
name: EMON Reactive Power CT2
|
||||
power_factor:
|
||||
name: EMON Power Factor CT2
|
||||
gain_voltage: 7305
|
||||
gain_ct: 27961
|
||||
phase_c:
|
||||
current:
|
||||
name: EMON CT3 Current
|
||||
power:
|
||||
name: EMON Active Power CT3
|
||||
reactive_power:
|
||||
name: EMON Reactive Power CT3
|
||||
power_factor:
|
||||
name: EMON Power Factor CT3
|
||||
gain_voltage: 7305
|
||||
gain_ct: 27961
|
||||
frequency:
|
||||
name: EMON Line Frequency
|
||||
chip_temperature:
|
||||
name: EMON Chip Temp A
|
||||
line_frequency: 60Hz
|
||||
current_phases: 3
|
||||
gain_pga: 2X
|
Loading…
Reference in a new issue