mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
Add some components to the new testing framework (M part 2) (#6208)
This commit is contained in:
parent
2b215fecc9
commit
c0dc9c20fc
128 changed files with 2577 additions and 0 deletions
49
tests/components/micronova/test.esp32-c3-idf.yaml
Normal file
49
tests/components/micronova/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
uart:
|
||||||
|
- id: uart_micronova
|
||||||
|
tx_pin: 4
|
||||||
|
rx_pin: 5
|
||||||
|
baud_rate: 9600
|
||||||
|
|
||||||
|
micronova:
|
||||||
|
enable_rx_pin: 6
|
||||||
|
|
||||||
|
button:
|
||||||
|
- platform: micronova
|
||||||
|
custom_button:
|
||||||
|
name: Custom Micronova Button
|
||||||
|
memory_location: 0xA0
|
||||||
|
memory_address: 0x7D
|
||||||
|
memory_data: 0x0F
|
||||||
|
|
||||||
|
number:
|
||||||
|
- platform: micronova
|
||||||
|
thermostat_temperature:
|
||||||
|
name: Micronova Thermostaat
|
||||||
|
step: 1
|
||||||
|
power_level:
|
||||||
|
name: Micronova Power level
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: micronova
|
||||||
|
room_temperature:
|
||||||
|
name: Room Temperature
|
||||||
|
fumes_temperature:
|
||||||
|
name: Fumes Temperature
|
||||||
|
water_temperature:
|
||||||
|
name: Water temperature
|
||||||
|
water_pressure:
|
||||||
|
name: Water pressure
|
||||||
|
stove_power:
|
||||||
|
name: Stove Power
|
||||||
|
fan_speed:
|
||||||
|
fan_rpm_offset: 240
|
||||||
|
name: Fan RPM
|
||||||
|
memory_address_sensor:
|
||||||
|
memory_location: 0x20
|
||||||
|
memory_address: 0x7d
|
||||||
|
name: Adres sensor
|
||||||
|
|
||||||
|
switch:
|
||||||
|
- platform: micronova
|
||||||
|
stove:
|
||||||
|
name: Stove on/off
|
49
tests/components/micronova/test.esp32-c3.yaml
Normal file
49
tests/components/micronova/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
uart:
|
||||||
|
- id: uart_micronova
|
||||||
|
tx_pin: 4
|
||||||
|
rx_pin: 5
|
||||||
|
baud_rate: 9600
|
||||||
|
|
||||||
|
micronova:
|
||||||
|
enable_rx_pin: 6
|
||||||
|
|
||||||
|
button:
|
||||||
|
- platform: micronova
|
||||||
|
custom_button:
|
||||||
|
name: Custom Micronova Button
|
||||||
|
memory_location: 0xA0
|
||||||
|
memory_address: 0x7D
|
||||||
|
memory_data: 0x0F
|
||||||
|
|
||||||
|
number:
|
||||||
|
- platform: micronova
|
||||||
|
thermostat_temperature:
|
||||||
|
name: Micronova Thermostaat
|
||||||
|
step: 1
|
||||||
|
power_level:
|
||||||
|
name: Micronova Power level
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: micronova
|
||||||
|
room_temperature:
|
||||||
|
name: Room Temperature
|
||||||
|
fumes_temperature:
|
||||||
|
name: Fumes Temperature
|
||||||
|
water_temperature:
|
||||||
|
name: Water temperature
|
||||||
|
water_pressure:
|
||||||
|
name: Water pressure
|
||||||
|
stove_power:
|
||||||
|
name: Stove Power
|
||||||
|
fan_speed:
|
||||||
|
fan_rpm_offset: 240
|
||||||
|
name: Fan RPM
|
||||||
|
memory_address_sensor:
|
||||||
|
memory_location: 0x20
|
||||||
|
memory_address: 0x7d
|
||||||
|
name: Adres sensor
|
||||||
|
|
||||||
|
switch:
|
||||||
|
- platform: micronova
|
||||||
|
stove:
|
||||||
|
name: Stove on/off
|
49
tests/components/micronova/test.esp32-idf.yaml
Normal file
49
tests/components/micronova/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
uart:
|
||||||
|
- id: uart_micronova
|
||||||
|
tx_pin: 17
|
||||||
|
rx_pin: 16
|
||||||
|
baud_rate: 9600
|
||||||
|
|
||||||
|
micronova:
|
||||||
|
enable_rx_pin: 18
|
||||||
|
|
||||||
|
button:
|
||||||
|
- platform: micronova
|
||||||
|
custom_button:
|
||||||
|
name: Custom Micronova Button
|
||||||
|
memory_location: 0xA0
|
||||||
|
memory_address: 0x7D
|
||||||
|
memory_data: 0x0F
|
||||||
|
|
||||||
|
number:
|
||||||
|
- platform: micronova
|
||||||
|
thermostat_temperature:
|
||||||
|
name: Micronova Thermostaat
|
||||||
|
step: 1
|
||||||
|
power_level:
|
||||||
|
name: Micronova Power level
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: micronova
|
||||||
|
room_temperature:
|
||||||
|
name: Room Temperature
|
||||||
|
fumes_temperature:
|
||||||
|
name: Fumes Temperature
|
||||||
|
water_temperature:
|
||||||
|
name: Water temperature
|
||||||
|
water_pressure:
|
||||||
|
name: Water pressure
|
||||||
|
stove_power:
|
||||||
|
name: Stove Power
|
||||||
|
fan_speed:
|
||||||
|
fan_rpm_offset: 240
|
||||||
|
name: Fan RPM
|
||||||
|
memory_address_sensor:
|
||||||
|
memory_location: 0x20
|
||||||
|
memory_address: 0x7d
|
||||||
|
name: Adres sensor
|
||||||
|
|
||||||
|
switch:
|
||||||
|
- platform: micronova
|
||||||
|
stove:
|
||||||
|
name: Stove on/off
|
49
tests/components/micronova/test.esp32.yaml
Normal file
49
tests/components/micronova/test.esp32.yaml
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
uart:
|
||||||
|
- id: uart_micronova
|
||||||
|
tx_pin: 17
|
||||||
|
rx_pin: 16
|
||||||
|
baud_rate: 9600
|
||||||
|
|
||||||
|
micronova:
|
||||||
|
enable_rx_pin: 18
|
||||||
|
|
||||||
|
button:
|
||||||
|
- platform: micronova
|
||||||
|
custom_button:
|
||||||
|
name: Custom Micronova Button
|
||||||
|
memory_location: 0xA0
|
||||||
|
memory_address: 0x7D
|
||||||
|
memory_data: 0x0F
|
||||||
|
|
||||||
|
number:
|
||||||
|
- platform: micronova
|
||||||
|
thermostat_temperature:
|
||||||
|
name: Micronova Thermostaat
|
||||||
|
step: 1
|
||||||
|
power_level:
|
||||||
|
name: Micronova Power level
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: micronova
|
||||||
|
room_temperature:
|
||||||
|
name: Room Temperature
|
||||||
|
fumes_temperature:
|
||||||
|
name: Fumes Temperature
|
||||||
|
water_temperature:
|
||||||
|
name: Water temperature
|
||||||
|
water_pressure:
|
||||||
|
name: Water pressure
|
||||||
|
stove_power:
|
||||||
|
name: Stove Power
|
||||||
|
fan_speed:
|
||||||
|
fan_rpm_offset: 240
|
||||||
|
name: Fan RPM
|
||||||
|
memory_address_sensor:
|
||||||
|
memory_location: 0x20
|
||||||
|
memory_address: 0x7d
|
||||||
|
name: Adres sensor
|
||||||
|
|
||||||
|
switch:
|
||||||
|
- platform: micronova
|
||||||
|
stove:
|
||||||
|
name: Stove on/off
|
49
tests/components/micronova/test.esp8266.yaml
Normal file
49
tests/components/micronova/test.esp8266.yaml
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
uart:
|
||||||
|
- id: uart_micronova
|
||||||
|
tx_pin: 4
|
||||||
|
rx_pin: 5
|
||||||
|
baud_rate: 9600
|
||||||
|
|
||||||
|
micronova:
|
||||||
|
enable_rx_pin: 16
|
||||||
|
|
||||||
|
button:
|
||||||
|
- platform: micronova
|
||||||
|
custom_button:
|
||||||
|
name: Custom Micronova Button
|
||||||
|
memory_location: 0xA0
|
||||||
|
memory_address: 0x7D
|
||||||
|
memory_data: 0x0F
|
||||||
|
|
||||||
|
number:
|
||||||
|
- platform: micronova
|
||||||
|
thermostat_temperature:
|
||||||
|
name: Micronova Thermostaat
|
||||||
|
step: 1
|
||||||
|
power_level:
|
||||||
|
name: Micronova Power level
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: micronova
|
||||||
|
room_temperature:
|
||||||
|
name: Room Temperature
|
||||||
|
fumes_temperature:
|
||||||
|
name: Fumes Temperature
|
||||||
|
water_temperature:
|
||||||
|
name: Water temperature
|
||||||
|
water_pressure:
|
||||||
|
name: Water pressure
|
||||||
|
stove_power:
|
||||||
|
name: Stove Power
|
||||||
|
fan_speed:
|
||||||
|
fan_rpm_offset: 240
|
||||||
|
name: Fan RPM
|
||||||
|
memory_address_sensor:
|
||||||
|
memory_location: 0x20
|
||||||
|
memory_address: 0x7d
|
||||||
|
name: Adres sensor
|
||||||
|
|
||||||
|
switch:
|
||||||
|
- platform: micronova
|
||||||
|
stove:
|
||||||
|
name: Stove on/off
|
49
tests/components/micronova/test.rp2040.yaml
Normal file
49
tests/components/micronova/test.rp2040.yaml
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
uart:
|
||||||
|
- id: uart_micronova
|
||||||
|
tx_pin: 4
|
||||||
|
rx_pin: 5
|
||||||
|
baud_rate: 9600
|
||||||
|
|
||||||
|
micronova:
|
||||||
|
enable_rx_pin: 6
|
||||||
|
|
||||||
|
button:
|
||||||
|
- platform: micronova
|
||||||
|
custom_button:
|
||||||
|
name: Custom Micronova Button
|
||||||
|
memory_location: 0xA0
|
||||||
|
memory_address: 0x7D
|
||||||
|
memory_data: 0x0F
|
||||||
|
|
||||||
|
number:
|
||||||
|
- platform: micronova
|
||||||
|
thermostat_temperature:
|
||||||
|
name: Micronova Thermostaat
|
||||||
|
step: 1
|
||||||
|
power_level:
|
||||||
|
name: Micronova Power level
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: micronova
|
||||||
|
room_temperature:
|
||||||
|
name: Room Temperature
|
||||||
|
fumes_temperature:
|
||||||
|
name: Fumes Temperature
|
||||||
|
water_temperature:
|
||||||
|
name: Water temperature
|
||||||
|
water_pressure:
|
||||||
|
name: Water pressure
|
||||||
|
stove_power:
|
||||||
|
name: Stove Power
|
||||||
|
fan_speed:
|
||||||
|
fan_rpm_offset: 240
|
||||||
|
name: Fan RPM
|
||||||
|
memory_address_sensor:
|
||||||
|
memory_location: 0x20
|
||||||
|
memory_address: 0x7d
|
||||||
|
name: Adres sensor
|
||||||
|
|
||||||
|
switch:
|
||||||
|
- platform: micronova
|
||||||
|
stove:
|
||||||
|
name: Stove on/off
|
11
tests/components/microphone/test.esp32-c3-idf.yaml
Normal file
11
tests/components/microphone/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
i2s_audio:
|
||||||
|
i2s_lrclk_pin: 6
|
||||||
|
i2s_bclk_pin: 7
|
||||||
|
i2s_mclk_pin: 8
|
||||||
|
|
||||||
|
microphone:
|
||||||
|
- platform: i2s_audio
|
||||||
|
id: mic_id_external
|
||||||
|
i2s_din_pin: 3
|
||||||
|
adc_type: external
|
||||||
|
pdm: false
|
11
tests/components/microphone/test.esp32-c3.yaml
Normal file
11
tests/components/microphone/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
i2s_audio:
|
||||||
|
i2s_lrclk_pin: 6
|
||||||
|
i2s_bclk_pin: 7
|
||||||
|
i2s_mclk_pin: 8
|
||||||
|
|
||||||
|
microphone:
|
||||||
|
- platform: i2s_audio
|
||||||
|
id: mic_id_external
|
||||||
|
i2s_din_pin: 3
|
||||||
|
adc_type: external
|
||||||
|
pdm: false
|
15
tests/components/microphone/test.esp32-idf.yaml
Normal file
15
tests/components/microphone/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
i2s_audio:
|
||||||
|
i2s_lrclk_pin: 13
|
||||||
|
i2s_bclk_pin: 14
|
||||||
|
i2s_mclk_pin: 15
|
||||||
|
|
||||||
|
microphone:
|
||||||
|
- platform: i2s_audio
|
||||||
|
id: mic_id_adc
|
||||||
|
adc_pin: 32
|
||||||
|
adc_type: internal
|
||||||
|
- platform: i2s_audio
|
||||||
|
id: mic_id_external
|
||||||
|
i2s_din_pin: 33
|
||||||
|
adc_type: external
|
||||||
|
pdm: false
|
15
tests/components/microphone/test.esp32.yaml
Normal file
15
tests/components/microphone/test.esp32.yaml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
i2s_audio:
|
||||||
|
i2s_lrclk_pin: 13
|
||||||
|
i2s_bclk_pin: 14
|
||||||
|
i2s_mclk_pin: 15
|
||||||
|
|
||||||
|
microphone:
|
||||||
|
- platform: i2s_audio
|
||||||
|
id: mic_id_adc
|
||||||
|
adc_pin: 32
|
||||||
|
adc_type: internal
|
||||||
|
- platform: i2s_audio
|
||||||
|
id: mic_id_external
|
||||||
|
i2s_din_pin: 33
|
||||||
|
adc_type: external
|
||||||
|
pdm: false
|
20
tests/components/mics_4514/test.esp32-c3-idf.yaml
Normal file
20
tests/components/mics_4514/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mics_4514
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mics_4514
|
||||||
|
update_interval: 60s
|
||||||
|
nitrogen_dioxide:
|
||||||
|
name: MICS-4514 NO2
|
||||||
|
carbon_monoxide:
|
||||||
|
name: MICS-4514 CO
|
||||||
|
methane:
|
||||||
|
name: MICS-4514 CH4
|
||||||
|
hydrogen:
|
||||||
|
name: MICS-4514 H2
|
||||||
|
ethanol:
|
||||||
|
name: MICS-4514 C2H5OH
|
||||||
|
ammonia:
|
||||||
|
name: MICS-4514 NH3
|
20
tests/components/mics_4514/test.esp32-c3.yaml
Normal file
20
tests/components/mics_4514/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mics_4514
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mics_4514
|
||||||
|
update_interval: 60s
|
||||||
|
nitrogen_dioxide:
|
||||||
|
name: MICS-4514 NO2
|
||||||
|
carbon_monoxide:
|
||||||
|
name: MICS-4514 CO
|
||||||
|
methane:
|
||||||
|
name: MICS-4514 CH4
|
||||||
|
hydrogen:
|
||||||
|
name: MICS-4514 H2
|
||||||
|
ethanol:
|
||||||
|
name: MICS-4514 C2H5OH
|
||||||
|
ammonia:
|
||||||
|
name: MICS-4514 NH3
|
20
tests/components/mics_4514/test.esp32-idf.yaml
Normal file
20
tests/components/mics_4514/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mics_4514
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mics_4514
|
||||||
|
update_interval: 60s
|
||||||
|
nitrogen_dioxide:
|
||||||
|
name: MICS-4514 NO2
|
||||||
|
carbon_monoxide:
|
||||||
|
name: MICS-4514 CO
|
||||||
|
methane:
|
||||||
|
name: MICS-4514 CH4
|
||||||
|
hydrogen:
|
||||||
|
name: MICS-4514 H2
|
||||||
|
ethanol:
|
||||||
|
name: MICS-4514 C2H5OH
|
||||||
|
ammonia:
|
||||||
|
name: MICS-4514 NH3
|
20
tests/components/mics_4514/test.esp32.yaml
Normal file
20
tests/components/mics_4514/test.esp32.yaml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mics_4514
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mics_4514
|
||||||
|
update_interval: 60s
|
||||||
|
nitrogen_dioxide:
|
||||||
|
name: MICS-4514 NO2
|
||||||
|
carbon_monoxide:
|
||||||
|
name: MICS-4514 CO
|
||||||
|
methane:
|
||||||
|
name: MICS-4514 CH4
|
||||||
|
hydrogen:
|
||||||
|
name: MICS-4514 H2
|
||||||
|
ethanol:
|
||||||
|
name: MICS-4514 C2H5OH
|
||||||
|
ammonia:
|
||||||
|
name: MICS-4514 NH3
|
20
tests/components/mics_4514/test.esp8266.yaml
Normal file
20
tests/components/mics_4514/test.esp8266.yaml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mics_4514
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mics_4514
|
||||||
|
update_interval: 60s
|
||||||
|
nitrogen_dioxide:
|
||||||
|
name: MICS-4514 NO2
|
||||||
|
carbon_monoxide:
|
||||||
|
name: MICS-4514 CO
|
||||||
|
methane:
|
||||||
|
name: MICS-4514 CH4
|
||||||
|
hydrogen:
|
||||||
|
name: MICS-4514 H2
|
||||||
|
ethanol:
|
||||||
|
name: MICS-4514 C2H5OH
|
||||||
|
ammonia:
|
||||||
|
name: MICS-4514 NH3
|
20
tests/components/mics_4514/test.rp2040.yaml
Normal file
20
tests/components/mics_4514/test.rp2040.yaml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mics_4514
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mics_4514
|
||||||
|
update_interval: 60s
|
||||||
|
nitrogen_dioxide:
|
||||||
|
name: MICS-4514 NO2
|
||||||
|
carbon_monoxide:
|
||||||
|
name: MICS-4514 CO
|
||||||
|
methane:
|
||||||
|
name: MICS-4514 CH4
|
||||||
|
hydrogen:
|
||||||
|
name: MICS-4514 H2
|
||||||
|
ethanol:
|
||||||
|
name: MICS-4514 C2H5OH
|
||||||
|
ammonia:
|
||||||
|
name: MICS-4514 NH3
|
59
tests/components/midea/test.esp32-c3.yaml
Normal file
59
tests/components/midea/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
wifi:
|
||||||
|
ssid: MySSID
|
||||||
|
password: password1
|
||||||
|
|
||||||
|
remote_transmitter:
|
||||||
|
pin: 2
|
||||||
|
carrier_duty_percent: 50%
|
||||||
|
|
||||||
|
uart:
|
||||||
|
- id: uart_midea
|
||||||
|
tx_pin: 4
|
||||||
|
rx_pin: 5
|
||||||
|
baud_rate: 9600
|
||||||
|
|
||||||
|
climate:
|
||||||
|
- platform: midea
|
||||||
|
id: midea_unit
|
||||||
|
name: Midea Climate
|
||||||
|
on_control:
|
||||||
|
- logger.log: Control message received!
|
||||||
|
- lambda: |-
|
||||||
|
x.set_mode(CLIMATE_MODE_FAN_ONLY);
|
||||||
|
on_state:
|
||||||
|
- logger.log: State changed!
|
||||||
|
transmitter_id:
|
||||||
|
period: 1s
|
||||||
|
num_attempts: 5
|
||||||
|
timeout: 2s
|
||||||
|
beeper: false
|
||||||
|
autoconf: true
|
||||||
|
visual:
|
||||||
|
min_temperature: 17 °C
|
||||||
|
max_temperature: 30 °C
|
||||||
|
temperature_step: 0.5 °C
|
||||||
|
supported_modes:
|
||||||
|
- FAN_ONLY
|
||||||
|
- HEAT_COOL
|
||||||
|
- COOL
|
||||||
|
- HEAT
|
||||||
|
- DRY
|
||||||
|
custom_fan_modes:
|
||||||
|
- SILENT
|
||||||
|
- TURBO
|
||||||
|
supported_presets:
|
||||||
|
- ECO
|
||||||
|
- BOOST
|
||||||
|
- SLEEP
|
||||||
|
custom_presets:
|
||||||
|
- FREEZE_PROTECTION
|
||||||
|
supported_swing_modes:
|
||||||
|
- VERTICAL
|
||||||
|
- HORIZONTAL
|
||||||
|
- BOTH
|
||||||
|
outdoor_temperature:
|
||||||
|
name: Temp
|
||||||
|
power_usage:
|
||||||
|
name: Power
|
||||||
|
humidity_setpoint:
|
||||||
|
name: Humidity
|
59
tests/components/midea/test.esp32.yaml
Normal file
59
tests/components/midea/test.esp32.yaml
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
wifi:
|
||||||
|
ssid: MySSID
|
||||||
|
password: password1
|
||||||
|
|
||||||
|
remote_transmitter:
|
||||||
|
pin: 18
|
||||||
|
carrier_duty_percent: 50%
|
||||||
|
|
||||||
|
uart:
|
||||||
|
- id: uart_midea
|
||||||
|
tx_pin: 17
|
||||||
|
rx_pin: 16
|
||||||
|
baud_rate: 9600
|
||||||
|
|
||||||
|
climate:
|
||||||
|
- platform: midea
|
||||||
|
id: midea_unit
|
||||||
|
name: Midea Climate
|
||||||
|
on_control:
|
||||||
|
- logger.log: Control message received!
|
||||||
|
- lambda: |-
|
||||||
|
x.set_mode(CLIMATE_MODE_FAN_ONLY);
|
||||||
|
on_state:
|
||||||
|
- logger.log: State changed!
|
||||||
|
transmitter_id:
|
||||||
|
period: 1s
|
||||||
|
num_attempts: 5
|
||||||
|
timeout: 2s
|
||||||
|
beeper: false
|
||||||
|
autoconf: true
|
||||||
|
visual:
|
||||||
|
min_temperature: 17 °C
|
||||||
|
max_temperature: 30 °C
|
||||||
|
temperature_step: 0.5 °C
|
||||||
|
supported_modes:
|
||||||
|
- FAN_ONLY
|
||||||
|
- HEAT_COOL
|
||||||
|
- COOL
|
||||||
|
- HEAT
|
||||||
|
- DRY
|
||||||
|
custom_fan_modes:
|
||||||
|
- SILENT
|
||||||
|
- TURBO
|
||||||
|
supported_presets:
|
||||||
|
- ECO
|
||||||
|
- BOOST
|
||||||
|
- SLEEP
|
||||||
|
custom_presets:
|
||||||
|
- FREEZE_PROTECTION
|
||||||
|
supported_swing_modes:
|
||||||
|
- VERTICAL
|
||||||
|
- HORIZONTAL
|
||||||
|
- BOTH
|
||||||
|
outdoor_temperature:
|
||||||
|
name: Temp
|
||||||
|
power_usage:
|
||||||
|
name: Power
|
||||||
|
humidity_setpoint:
|
||||||
|
name: Humidity
|
59
tests/components/midea/test.esp8266.yaml
Normal file
59
tests/components/midea/test.esp8266.yaml
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
wifi:
|
||||||
|
ssid: MySSID
|
||||||
|
password: password1
|
||||||
|
|
||||||
|
remote_transmitter:
|
||||||
|
pin: 12
|
||||||
|
carrier_duty_percent: 50%
|
||||||
|
|
||||||
|
uart:
|
||||||
|
- id: uart_midea
|
||||||
|
tx_pin: 4
|
||||||
|
rx_pin: 5
|
||||||
|
baud_rate: 9600
|
||||||
|
|
||||||
|
climate:
|
||||||
|
- platform: midea
|
||||||
|
id: midea_unit
|
||||||
|
name: Midea Climate
|
||||||
|
on_control:
|
||||||
|
- logger.log: Control message received!
|
||||||
|
- lambda: |-
|
||||||
|
x.set_mode(CLIMATE_MODE_FAN_ONLY);
|
||||||
|
on_state:
|
||||||
|
- logger.log: State changed!
|
||||||
|
transmitter_id:
|
||||||
|
period: 1s
|
||||||
|
num_attempts: 5
|
||||||
|
timeout: 2s
|
||||||
|
beeper: false
|
||||||
|
autoconf: true
|
||||||
|
visual:
|
||||||
|
min_temperature: 17 °C
|
||||||
|
max_temperature: 30 °C
|
||||||
|
temperature_step: 0.5 °C
|
||||||
|
supported_modes:
|
||||||
|
- FAN_ONLY
|
||||||
|
- HEAT_COOL
|
||||||
|
- COOL
|
||||||
|
- HEAT
|
||||||
|
- DRY
|
||||||
|
custom_fan_modes:
|
||||||
|
- SILENT
|
||||||
|
- TURBO
|
||||||
|
supported_presets:
|
||||||
|
- ECO
|
||||||
|
- BOOST
|
||||||
|
- SLEEP
|
||||||
|
custom_presets:
|
||||||
|
- FREEZE_PROTECTION
|
||||||
|
supported_swing_modes:
|
||||||
|
- VERTICAL
|
||||||
|
- HORIZONTAL
|
||||||
|
- BOTH
|
||||||
|
outdoor_temperature:
|
||||||
|
name: Temp
|
||||||
|
power_usage:
|
||||||
|
name: Power
|
||||||
|
humidity_setpoint:
|
||||||
|
name: Humidity
|
8
tests/components/midea_ir/test.esp32-c3-idf.yaml
Normal file
8
tests/components/midea_ir/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
remote_transmitter:
|
||||||
|
pin: 4
|
||||||
|
carrier_duty_percent: 50%
|
||||||
|
|
||||||
|
climate:
|
||||||
|
- platform: midea_ir
|
||||||
|
name: Midea IR
|
||||||
|
use_fahrenheit: true
|
8
tests/components/midea_ir/test.esp32-c3.yaml
Normal file
8
tests/components/midea_ir/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
remote_transmitter:
|
||||||
|
pin: 4
|
||||||
|
carrier_duty_percent: 50%
|
||||||
|
|
||||||
|
climate:
|
||||||
|
- platform: midea_ir
|
||||||
|
name: Midea IR
|
||||||
|
use_fahrenheit: true
|
8
tests/components/midea_ir/test.esp32-idf.yaml
Normal file
8
tests/components/midea_ir/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
remote_transmitter:
|
||||||
|
pin: 4
|
||||||
|
carrier_duty_percent: 50%
|
||||||
|
|
||||||
|
climate:
|
||||||
|
- platform: midea_ir
|
||||||
|
name: Midea IR
|
||||||
|
use_fahrenheit: true
|
8
tests/components/midea_ir/test.esp32.yaml
Normal file
8
tests/components/midea_ir/test.esp32.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
remote_transmitter:
|
||||||
|
pin: 4
|
||||||
|
carrier_duty_percent: 50%
|
||||||
|
|
||||||
|
climate:
|
||||||
|
- platform: midea_ir
|
||||||
|
name: Midea IR
|
||||||
|
use_fahrenheit: true
|
8
tests/components/midea_ir/test.esp8266.yaml
Normal file
8
tests/components/midea_ir/test.esp8266.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
remote_transmitter:
|
||||||
|
pin: 4
|
||||||
|
carrier_duty_percent: 50%
|
||||||
|
|
||||||
|
climate:
|
||||||
|
- platform: midea_ir
|
||||||
|
name: Midea IR
|
||||||
|
use_fahrenheit: true
|
7
tests/components/mitsubishi/test.esp32-c3-idf.yaml
Normal file
7
tests/components/mitsubishi/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
remote_transmitter:
|
||||||
|
pin: 4
|
||||||
|
carrier_duty_percent: 50%
|
||||||
|
|
||||||
|
climate:
|
||||||
|
- platform: mitsubishi
|
||||||
|
name: Mitsubishi
|
7
tests/components/mitsubishi/test.esp32-c3.yaml
Normal file
7
tests/components/mitsubishi/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
remote_transmitter:
|
||||||
|
pin: 4
|
||||||
|
carrier_duty_percent: 50%
|
||||||
|
|
||||||
|
climate:
|
||||||
|
- platform: mitsubishi
|
||||||
|
name: Mitsubishi
|
7
tests/components/mitsubishi/test.esp32-idf.yaml
Normal file
7
tests/components/mitsubishi/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
remote_transmitter:
|
||||||
|
pin: 4
|
||||||
|
carrier_duty_percent: 50%
|
||||||
|
|
||||||
|
climate:
|
||||||
|
- platform: mitsubishi
|
||||||
|
name: Mitsubishi
|
7
tests/components/mitsubishi/test.esp32.yaml
Normal file
7
tests/components/mitsubishi/test.esp32.yaml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
remote_transmitter:
|
||||||
|
pin: 4
|
||||||
|
carrier_duty_percent: 50%
|
||||||
|
|
||||||
|
climate:
|
||||||
|
- platform: mitsubishi
|
||||||
|
name: Mitsubishi
|
7
tests/components/mitsubishi/test.esp8266.yaml
Normal file
7
tests/components/mitsubishi/test.esp8266.yaml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
remote_transmitter:
|
||||||
|
pin: 4
|
||||||
|
carrier_duty_percent: 50%
|
||||||
|
|
||||||
|
climate:
|
||||||
|
- platform: mitsubishi
|
||||||
|
name: Mitsubishi
|
20
tests/components/mlx90393/test.esp32-c3-idf.yaml
Normal file
20
tests/components/mlx90393/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mlx90393
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mlx90393
|
||||||
|
oversampling: 1
|
||||||
|
filter: 0
|
||||||
|
gain: 3X
|
||||||
|
x_axis:
|
||||||
|
name: mlxxaxis
|
||||||
|
y_axis:
|
||||||
|
name: mlxyaxis
|
||||||
|
z_axis:
|
||||||
|
name: mlxzaxis
|
||||||
|
resolution: 17BIT
|
||||||
|
temperature:
|
||||||
|
name: mlxtemp
|
||||||
|
oversampling: 2
|
20
tests/components/mlx90393/test.esp32-c3.yaml
Normal file
20
tests/components/mlx90393/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mlx90393
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mlx90393
|
||||||
|
oversampling: 1
|
||||||
|
filter: 0
|
||||||
|
gain: 3X
|
||||||
|
x_axis:
|
||||||
|
name: mlxxaxis
|
||||||
|
y_axis:
|
||||||
|
name: mlxyaxis
|
||||||
|
z_axis:
|
||||||
|
name: mlxzaxis
|
||||||
|
resolution: 17BIT
|
||||||
|
temperature:
|
||||||
|
name: mlxtemp
|
||||||
|
oversampling: 2
|
20
tests/components/mlx90393/test.esp32-idf.yaml
Normal file
20
tests/components/mlx90393/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mlx90393
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mlx90393
|
||||||
|
oversampling: 1
|
||||||
|
filter: 0
|
||||||
|
gain: 3X
|
||||||
|
x_axis:
|
||||||
|
name: mlxxaxis
|
||||||
|
y_axis:
|
||||||
|
name: mlxyaxis
|
||||||
|
z_axis:
|
||||||
|
name: mlxzaxis
|
||||||
|
resolution: 17BIT
|
||||||
|
temperature:
|
||||||
|
name: mlxtemp
|
||||||
|
oversampling: 2
|
20
tests/components/mlx90393/test.esp32.yaml
Normal file
20
tests/components/mlx90393/test.esp32.yaml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mlx90393
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mlx90393
|
||||||
|
oversampling: 1
|
||||||
|
filter: 0
|
||||||
|
gain: 3X
|
||||||
|
x_axis:
|
||||||
|
name: mlxxaxis
|
||||||
|
y_axis:
|
||||||
|
name: mlxyaxis
|
||||||
|
z_axis:
|
||||||
|
name: mlxzaxis
|
||||||
|
resolution: 17BIT
|
||||||
|
temperature:
|
||||||
|
name: mlxtemp
|
||||||
|
oversampling: 2
|
20
tests/components/mlx90393/test.esp8266.yaml
Normal file
20
tests/components/mlx90393/test.esp8266.yaml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mlx90393
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mlx90393
|
||||||
|
oversampling: 1
|
||||||
|
filter: 0
|
||||||
|
gain: 3X
|
||||||
|
x_axis:
|
||||||
|
name: mlxxaxis
|
||||||
|
y_axis:
|
||||||
|
name: mlxyaxis
|
||||||
|
z_axis:
|
||||||
|
name: mlxzaxis
|
||||||
|
resolution: 17BIT
|
||||||
|
temperature:
|
||||||
|
name: mlxtemp
|
||||||
|
oversampling: 2
|
20
tests/components/mlx90393/test.rp2040.yaml
Normal file
20
tests/components/mlx90393/test.rp2040.yaml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mlx90393
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mlx90393
|
||||||
|
oversampling: 1
|
||||||
|
filter: 0
|
||||||
|
gain: 3X
|
||||||
|
x_axis:
|
||||||
|
name: mlxxaxis
|
||||||
|
y_axis:
|
||||||
|
name: mlxyaxis
|
||||||
|
z_axis:
|
||||||
|
name: mlxzaxis
|
||||||
|
resolution: 17BIT
|
||||||
|
temperature:
|
||||||
|
name: mlxtemp
|
||||||
|
oversampling: 2
|
12
tests/components/mlx90614/test.esp32-c3-idf.yaml
Normal file
12
tests/components/mlx90614/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mlx90614
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mlx90614
|
||||||
|
ambient:
|
||||||
|
name: Ambient
|
||||||
|
object:
|
||||||
|
name: Object
|
||||||
|
emissivity: 1.0
|
12
tests/components/mlx90614/test.esp32-c3.yaml
Normal file
12
tests/components/mlx90614/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mlx90614
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mlx90614
|
||||||
|
ambient:
|
||||||
|
name: Ambient
|
||||||
|
object:
|
||||||
|
name: Object
|
||||||
|
emissivity: 1.0
|
12
tests/components/mlx90614/test.esp32-idf.yaml
Normal file
12
tests/components/mlx90614/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mlx90614
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mlx90614
|
||||||
|
ambient:
|
||||||
|
name: Ambient
|
||||||
|
object:
|
||||||
|
name: Object
|
||||||
|
emissivity: 1.0
|
12
tests/components/mlx90614/test.esp32.yaml
Normal file
12
tests/components/mlx90614/test.esp32.yaml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mlx90614
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mlx90614
|
||||||
|
ambient:
|
||||||
|
name: Ambient
|
||||||
|
object:
|
||||||
|
name: Object
|
||||||
|
emissivity: 1.0
|
12
tests/components/mlx90614/test.esp8266.yaml
Normal file
12
tests/components/mlx90614/test.esp8266.yaml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mlx90614
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mlx90614
|
||||||
|
ambient:
|
||||||
|
name: Ambient
|
||||||
|
object:
|
||||||
|
name: Object
|
||||||
|
emissivity: 1.0
|
12
tests/components/mlx90614/test.rp2040.yaml
Normal file
12
tests/components/mlx90614/test.rp2040.yaml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mlx90614
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mlx90614
|
||||||
|
ambient:
|
||||||
|
name: Ambient
|
||||||
|
object:
|
||||||
|
name: Object
|
||||||
|
emissivity: 1.0
|
14
tests/components/mmc5603/test.esp32-c3-idf.yaml
Normal file
14
tests/components/mmc5603/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mmc5603
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mmc5603
|
||||||
|
address: 0x30
|
||||||
|
field_strength_x:
|
||||||
|
name: HMC5883L Field Strength X
|
||||||
|
field_strength_y:
|
||||||
|
name: HMC5883L Field Strength Y
|
||||||
|
field_strength_z:
|
||||||
|
name: HMC5883L Field Strength Z
|
14
tests/components/mmc5603/test.esp32-c3.yaml
Normal file
14
tests/components/mmc5603/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mmc5603
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mmc5603
|
||||||
|
address: 0x30
|
||||||
|
field_strength_x:
|
||||||
|
name: HMC5883L Field Strength X
|
||||||
|
field_strength_y:
|
||||||
|
name: HMC5883L Field Strength Y
|
||||||
|
field_strength_z:
|
||||||
|
name: HMC5883L Field Strength Z
|
14
tests/components/mmc5603/test.esp32-idf.yaml
Normal file
14
tests/components/mmc5603/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mmc5603
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mmc5603
|
||||||
|
address: 0x30
|
||||||
|
field_strength_x:
|
||||||
|
name: HMC5883L Field Strength X
|
||||||
|
field_strength_y:
|
||||||
|
name: HMC5883L Field Strength Y
|
||||||
|
field_strength_z:
|
||||||
|
name: HMC5883L Field Strength Z
|
14
tests/components/mmc5603/test.esp32.yaml
Normal file
14
tests/components/mmc5603/test.esp32.yaml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mmc5603
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mmc5603
|
||||||
|
address: 0x30
|
||||||
|
field_strength_x:
|
||||||
|
name: HMC5883L Field Strength X
|
||||||
|
field_strength_y:
|
||||||
|
name: HMC5883L Field Strength Y
|
||||||
|
field_strength_z:
|
||||||
|
name: HMC5883L Field Strength Z
|
14
tests/components/mmc5603/test.esp8266.yaml
Normal file
14
tests/components/mmc5603/test.esp8266.yaml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mmc5603
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mmc5603
|
||||||
|
address: 0x30
|
||||||
|
field_strength_x:
|
||||||
|
name: HMC5883L Field Strength X
|
||||||
|
field_strength_y:
|
||||||
|
name: HMC5883L Field Strength Y
|
||||||
|
field_strength_z:
|
||||||
|
name: HMC5883L Field Strength Z
|
14
tests/components/mmc5603/test.rp2040.yaml
Normal file
14
tests/components/mmc5603/test.rp2040.yaml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mmc5603
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mmc5603
|
||||||
|
address: 0x30
|
||||||
|
field_strength_x:
|
||||||
|
name: HMC5883L Field Strength X
|
||||||
|
field_strength_y:
|
||||||
|
name: HMC5883L Field Strength Y
|
||||||
|
field_strength_z:
|
||||||
|
name: HMC5883L Field Strength Z
|
16
tests/components/mmc5983/test.esp32-c3-idf.yaml
Normal file
16
tests/components/mmc5983/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mmc5983
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mmc5983
|
||||||
|
field_strength_x:
|
||||||
|
name: "Magnet X"
|
||||||
|
id: magnet_x
|
||||||
|
field_strength_y:
|
||||||
|
name: "Magnet Y"
|
||||||
|
id: magnet_y
|
||||||
|
field_strength_z:
|
||||||
|
name: "Magnet Z"
|
||||||
|
id: magnet_z
|
16
tests/components/mmc5983/test.esp32-c3.yaml
Normal file
16
tests/components/mmc5983/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mmc5983
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mmc5983
|
||||||
|
field_strength_x:
|
||||||
|
name: "Magnet X"
|
||||||
|
id: magnet_x
|
||||||
|
field_strength_y:
|
||||||
|
name: "Magnet Y"
|
||||||
|
id: magnet_y
|
||||||
|
field_strength_z:
|
||||||
|
name: "Magnet Z"
|
||||||
|
id: magnet_z
|
16
tests/components/mmc5983/test.esp32-idf.yaml
Normal file
16
tests/components/mmc5983/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mmc5983
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mmc5983
|
||||||
|
field_strength_x:
|
||||||
|
name: "Magnet X"
|
||||||
|
id: magnet_x
|
||||||
|
field_strength_y:
|
||||||
|
name: "Magnet Y"
|
||||||
|
id: magnet_y
|
||||||
|
field_strength_z:
|
||||||
|
name: "Magnet Z"
|
||||||
|
id: magnet_z
|
16
tests/components/mmc5983/test.esp32.yaml
Normal file
16
tests/components/mmc5983/test.esp32.yaml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mmc5983
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mmc5983
|
||||||
|
field_strength_x:
|
||||||
|
name: "Magnet X"
|
||||||
|
id: magnet_x
|
||||||
|
field_strength_y:
|
||||||
|
name: "Magnet Y"
|
||||||
|
id: magnet_y
|
||||||
|
field_strength_z:
|
||||||
|
name: "Magnet Z"
|
||||||
|
id: magnet_z
|
16
tests/components/mmc5983/test.esp8266.yaml
Normal file
16
tests/components/mmc5983/test.esp8266.yaml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mmc5983
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mmc5983
|
||||||
|
field_strength_x:
|
||||||
|
name: "Magnet X"
|
||||||
|
id: magnet_x
|
||||||
|
field_strength_y:
|
||||||
|
name: "Magnet Y"
|
||||||
|
id: magnet_y
|
||||||
|
field_strength_z:
|
||||||
|
name: "Magnet Z"
|
||||||
|
id: magnet_z
|
16
tests/components/mmc5983/test.rp2040.yaml
Normal file
16
tests/components/mmc5983/test.rp2040.yaml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mmc5983
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mmc5983
|
||||||
|
field_strength_x:
|
||||||
|
name: "Magnet X"
|
||||||
|
id: magnet_x
|
||||||
|
field_strength_y:
|
||||||
|
name: "Magnet Y"
|
||||||
|
id: magnet_y
|
||||||
|
field_strength_z:
|
||||||
|
name: "Magnet Z"
|
||||||
|
id: magnet_z
|
9
tests/components/modbus/test.esp32-c3-idf.yaml
Normal file
9
tests/components/modbus/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
uart:
|
||||||
|
- id: uart_modbus
|
||||||
|
tx_pin: 4
|
||||||
|
rx_pin: 5
|
||||||
|
baud_rate: 9600
|
||||||
|
|
||||||
|
modbus:
|
||||||
|
id: mod_bus1
|
||||||
|
flow_control_pin: 6
|
9
tests/components/modbus/test.esp32-c3.yaml
Normal file
9
tests/components/modbus/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
uart:
|
||||||
|
- id: uart_modbus
|
||||||
|
tx_pin: 4
|
||||||
|
rx_pin: 5
|
||||||
|
baud_rate: 9600
|
||||||
|
|
||||||
|
modbus:
|
||||||
|
id: mod_bus1
|
||||||
|
flow_control_pin: 6
|
9
tests/components/modbus/test.esp32-idf.yaml
Normal file
9
tests/components/modbus/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
uart:
|
||||||
|
- id: uart_modbus
|
||||||
|
tx_pin: 17
|
||||||
|
rx_pin: 16
|
||||||
|
baud_rate: 9600
|
||||||
|
|
||||||
|
modbus:
|
||||||
|
id: mod_bus1
|
||||||
|
flow_control_pin: 15
|
9
tests/components/modbus/test.esp32.yaml
Normal file
9
tests/components/modbus/test.esp32.yaml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
uart:
|
||||||
|
- id: uart_modbus
|
||||||
|
tx_pin: 17
|
||||||
|
rx_pin: 16
|
||||||
|
baud_rate: 9600
|
||||||
|
|
||||||
|
modbus:
|
||||||
|
id: mod_bus1
|
||||||
|
flow_control_pin: 15
|
9
tests/components/modbus/test.esp8266.yaml
Normal file
9
tests/components/modbus/test.esp8266.yaml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
uart:
|
||||||
|
- id: uart_modbus
|
||||||
|
tx_pin: 4
|
||||||
|
rx_pin: 5
|
||||||
|
baud_rate: 9600
|
||||||
|
|
||||||
|
modbus:
|
||||||
|
id: mod_bus1
|
||||||
|
flow_control_pin: 12
|
9
tests/components/modbus/test.rp2040.yaml
Normal file
9
tests/components/modbus/test.rp2040.yaml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
uart:
|
||||||
|
- id: uart_modbus
|
||||||
|
tx_pin: 4
|
||||||
|
rx_pin: 5
|
||||||
|
baud_rate: 9600
|
||||||
|
|
||||||
|
modbus:
|
||||||
|
id: mod_bus1
|
||||||
|
flow_control_pin: 6
|
14
tests/components/modbus_controller/test.esp32-c3-idf.yaml
Normal file
14
tests/components/modbus_controller/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
uart:
|
||||||
|
- id: uart_modbus
|
||||||
|
tx_pin: 4
|
||||||
|
rx_pin: 5
|
||||||
|
baud_rate: 9600
|
||||||
|
|
||||||
|
modbus:
|
||||||
|
id: mod_bus1
|
||||||
|
flow_control_pin: 6
|
||||||
|
|
||||||
|
modbus_controller:
|
||||||
|
- id: modbus_controller1
|
||||||
|
address: 0x2
|
||||||
|
modbus_id: mod_bus1
|
14
tests/components/modbus_controller/test.esp32-c3.yaml
Normal file
14
tests/components/modbus_controller/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
uart:
|
||||||
|
- id: uart_modbus
|
||||||
|
tx_pin: 4
|
||||||
|
rx_pin: 5
|
||||||
|
baud_rate: 9600
|
||||||
|
|
||||||
|
modbus:
|
||||||
|
id: mod_bus1
|
||||||
|
flow_control_pin: 6
|
||||||
|
|
||||||
|
modbus_controller:
|
||||||
|
- id: modbus_controller1
|
||||||
|
address: 0x2
|
||||||
|
modbus_id: mod_bus1
|
14
tests/components/modbus_controller/test.esp32-idf.yaml
Normal file
14
tests/components/modbus_controller/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
uart:
|
||||||
|
- id: uart_modbus
|
||||||
|
tx_pin: 17
|
||||||
|
rx_pin: 16
|
||||||
|
baud_rate: 9600
|
||||||
|
|
||||||
|
modbus:
|
||||||
|
id: mod_bus1
|
||||||
|
flow_control_pin: 15
|
||||||
|
|
||||||
|
modbus_controller:
|
||||||
|
- id: modbus_controller1
|
||||||
|
address: 0x2
|
||||||
|
modbus_id: mod_bus1
|
14
tests/components/modbus_controller/test.esp32.yaml
Normal file
14
tests/components/modbus_controller/test.esp32.yaml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
uart:
|
||||||
|
- id: uart_modbus
|
||||||
|
tx_pin: 17
|
||||||
|
rx_pin: 16
|
||||||
|
baud_rate: 9600
|
||||||
|
|
||||||
|
modbus:
|
||||||
|
id: mod_bus1
|
||||||
|
flow_control_pin: 15
|
||||||
|
|
||||||
|
modbus_controller:
|
||||||
|
- id: modbus_controller1
|
||||||
|
address: 0x2
|
||||||
|
modbus_id: mod_bus1
|
14
tests/components/modbus_controller/test.esp8266.yaml
Normal file
14
tests/components/modbus_controller/test.esp8266.yaml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
uart:
|
||||||
|
- id: uart_modbus
|
||||||
|
tx_pin: 4
|
||||||
|
rx_pin: 5
|
||||||
|
baud_rate: 9600
|
||||||
|
|
||||||
|
modbus:
|
||||||
|
id: mod_bus1
|
||||||
|
flow_control_pin: 12
|
||||||
|
|
||||||
|
modbus_controller:
|
||||||
|
- id: modbus_controller1
|
||||||
|
address: 0x2
|
||||||
|
modbus_id: mod_bus1
|
14
tests/components/modbus_controller/test.rp2040.yaml
Normal file
14
tests/components/modbus_controller/test.rp2040.yaml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
uart:
|
||||||
|
- id: uart_modbus
|
||||||
|
tx_pin: 4
|
||||||
|
rx_pin: 5
|
||||||
|
baud_rate: 9600
|
||||||
|
|
||||||
|
modbus:
|
||||||
|
id: mod_bus1
|
||||||
|
flow_control_pin: 6
|
||||||
|
|
||||||
|
modbus_controller:
|
||||||
|
- id: modbus_controller1
|
||||||
|
address: 0x2
|
||||||
|
modbus_id: mod_bus1
|
40
tests/components/monochromatic/test.esp32-c3-idf.yaml
Normal file
40
tests/components/monochromatic/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
output:
|
||||||
|
- platform: ledc
|
||||||
|
id: light_output_1
|
||||||
|
pin: 4
|
||||||
|
|
||||||
|
light:
|
||||||
|
- platform: monochromatic
|
||||||
|
name: Monochromatic Light
|
||||||
|
id: monochromatic_light
|
||||||
|
output: light_output_1
|
||||||
|
gamma_correct: 2.8
|
||||||
|
default_transition_length: 2s
|
||||||
|
effects:
|
||||||
|
- strobe:
|
||||||
|
- flicker:
|
||||||
|
- flicker:
|
||||||
|
name: My Flicker
|
||||||
|
alpha: 98%
|
||||||
|
intensity: 1.5%
|
||||||
|
- lambda:
|
||||||
|
name: My Custom Effect
|
||||||
|
update_interval: 1s
|
||||||
|
lambda: |-
|
||||||
|
static int state = 0;
|
||||||
|
state += 1;
|
||||||
|
if (state == 4)
|
||||||
|
state = 0;
|
||||||
|
- pulse:
|
||||||
|
transition_length: 10s
|
||||||
|
update_interval: 20s
|
||||||
|
min_brightness: 10%
|
||||||
|
max_brightness: 90%
|
||||||
|
- pulse:
|
||||||
|
name: pulse2
|
||||||
|
transition_length:
|
||||||
|
on_length: 10s
|
||||||
|
off_length: 5s
|
||||||
|
update_interval: 15s
|
||||||
|
min_brightness: 10%
|
||||||
|
max_brightness: 90%
|
40
tests/components/monochromatic/test.esp32-c3.yaml
Normal file
40
tests/components/monochromatic/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
output:
|
||||||
|
- platform: ledc
|
||||||
|
id: light_output_1
|
||||||
|
pin: 4
|
||||||
|
|
||||||
|
light:
|
||||||
|
- platform: monochromatic
|
||||||
|
name: Monochromatic Light
|
||||||
|
id: monochromatic_light
|
||||||
|
output: light_output_1
|
||||||
|
gamma_correct: 2.8
|
||||||
|
default_transition_length: 2s
|
||||||
|
effects:
|
||||||
|
- strobe:
|
||||||
|
- flicker:
|
||||||
|
- flicker:
|
||||||
|
name: My Flicker
|
||||||
|
alpha: 98%
|
||||||
|
intensity: 1.5%
|
||||||
|
- lambda:
|
||||||
|
name: My Custom Effect
|
||||||
|
update_interval: 1s
|
||||||
|
lambda: |-
|
||||||
|
static int state = 0;
|
||||||
|
state += 1;
|
||||||
|
if (state == 4)
|
||||||
|
state = 0;
|
||||||
|
- pulse:
|
||||||
|
transition_length: 10s
|
||||||
|
update_interval: 20s
|
||||||
|
min_brightness: 10%
|
||||||
|
max_brightness: 90%
|
||||||
|
- pulse:
|
||||||
|
name: pulse2
|
||||||
|
transition_length:
|
||||||
|
on_length: 10s
|
||||||
|
off_length: 5s
|
||||||
|
update_interval: 15s
|
||||||
|
min_brightness: 10%
|
||||||
|
max_brightness: 90%
|
40
tests/components/monochromatic/test.esp32-idf.yaml
Normal file
40
tests/components/monochromatic/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
output:
|
||||||
|
- platform: ledc
|
||||||
|
id: light_output_1
|
||||||
|
pin: 4
|
||||||
|
|
||||||
|
light:
|
||||||
|
- platform: monochromatic
|
||||||
|
name: Monochromatic Light
|
||||||
|
id: monochromatic_light
|
||||||
|
output: light_output_1
|
||||||
|
gamma_correct: 2.8
|
||||||
|
default_transition_length: 2s
|
||||||
|
effects:
|
||||||
|
- strobe:
|
||||||
|
- flicker:
|
||||||
|
- flicker:
|
||||||
|
name: My Flicker
|
||||||
|
alpha: 98%
|
||||||
|
intensity: 1.5%
|
||||||
|
- lambda:
|
||||||
|
name: My Custom Effect
|
||||||
|
update_interval: 1s
|
||||||
|
lambda: |-
|
||||||
|
static int state = 0;
|
||||||
|
state += 1;
|
||||||
|
if (state == 4)
|
||||||
|
state = 0;
|
||||||
|
- pulse:
|
||||||
|
transition_length: 10s
|
||||||
|
update_interval: 20s
|
||||||
|
min_brightness: 10%
|
||||||
|
max_brightness: 90%
|
||||||
|
- pulse:
|
||||||
|
name: pulse2
|
||||||
|
transition_length:
|
||||||
|
on_length: 10s
|
||||||
|
off_length: 5s
|
||||||
|
update_interval: 15s
|
||||||
|
min_brightness: 10%
|
||||||
|
max_brightness: 90%
|
40
tests/components/monochromatic/test.esp32.yaml
Normal file
40
tests/components/monochromatic/test.esp32.yaml
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
output:
|
||||||
|
- platform: ledc
|
||||||
|
id: light_output_1
|
||||||
|
pin: 4
|
||||||
|
|
||||||
|
light:
|
||||||
|
- platform: monochromatic
|
||||||
|
name: Monochromatic Light
|
||||||
|
id: monochromatic_light
|
||||||
|
output: light_output_1
|
||||||
|
gamma_correct: 2.8
|
||||||
|
default_transition_length: 2s
|
||||||
|
effects:
|
||||||
|
- strobe:
|
||||||
|
- flicker:
|
||||||
|
- flicker:
|
||||||
|
name: My Flicker
|
||||||
|
alpha: 98%
|
||||||
|
intensity: 1.5%
|
||||||
|
- lambda:
|
||||||
|
name: My Custom Effect
|
||||||
|
update_interval: 1s
|
||||||
|
lambda: |-
|
||||||
|
static int state = 0;
|
||||||
|
state += 1;
|
||||||
|
if (state == 4)
|
||||||
|
state = 0;
|
||||||
|
- pulse:
|
||||||
|
transition_length: 10s
|
||||||
|
update_interval: 20s
|
||||||
|
min_brightness: 10%
|
||||||
|
max_brightness: 90%
|
||||||
|
- pulse:
|
||||||
|
name: pulse2
|
||||||
|
transition_length:
|
||||||
|
on_length: 10s
|
||||||
|
off_length: 5s
|
||||||
|
update_interval: 15s
|
||||||
|
min_brightness: 10%
|
||||||
|
max_brightness: 90%
|
40
tests/components/monochromatic/test.esp8266.yaml
Normal file
40
tests/components/monochromatic/test.esp8266.yaml
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
output:
|
||||||
|
- platform: esp8266_pwm
|
||||||
|
id: light_output_1
|
||||||
|
pin: 4
|
||||||
|
|
||||||
|
light:
|
||||||
|
- platform: monochromatic
|
||||||
|
name: Monochromatic Light
|
||||||
|
id: monochromatic_light
|
||||||
|
output: light_output_1
|
||||||
|
gamma_correct: 2.8
|
||||||
|
default_transition_length: 2s
|
||||||
|
effects:
|
||||||
|
- strobe:
|
||||||
|
- flicker:
|
||||||
|
- flicker:
|
||||||
|
name: My Flicker
|
||||||
|
alpha: 98%
|
||||||
|
intensity: 1.5%
|
||||||
|
- lambda:
|
||||||
|
name: My Custom Effect
|
||||||
|
update_interval: 1s
|
||||||
|
lambda: |-
|
||||||
|
static int state = 0;
|
||||||
|
state += 1;
|
||||||
|
if (state == 4)
|
||||||
|
state = 0;
|
||||||
|
- pulse:
|
||||||
|
transition_length: 10s
|
||||||
|
update_interval: 20s
|
||||||
|
min_brightness: 10%
|
||||||
|
max_brightness: 90%
|
||||||
|
- pulse:
|
||||||
|
name: pulse2
|
||||||
|
transition_length:
|
||||||
|
on_length: 10s
|
||||||
|
off_length: 5s
|
||||||
|
update_interval: 15s
|
||||||
|
min_brightness: 10%
|
||||||
|
max_brightness: 90%
|
40
tests/components/monochromatic/test.rp2040.yaml
Normal file
40
tests/components/monochromatic/test.rp2040.yaml
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
output:
|
||||||
|
- platform: rp2040_pwm
|
||||||
|
id: light_output_1
|
||||||
|
pin: 4
|
||||||
|
|
||||||
|
light:
|
||||||
|
- platform: monochromatic
|
||||||
|
name: Monochromatic Light
|
||||||
|
id: monochromatic_light
|
||||||
|
output: light_output_1
|
||||||
|
gamma_correct: 2.8
|
||||||
|
default_transition_length: 2s
|
||||||
|
effects:
|
||||||
|
- strobe:
|
||||||
|
- flicker:
|
||||||
|
- flicker:
|
||||||
|
name: My Flicker
|
||||||
|
alpha: 98%
|
||||||
|
intensity: 1.5%
|
||||||
|
- lambda:
|
||||||
|
name: My Custom Effect
|
||||||
|
update_interval: 1s
|
||||||
|
lambda: |-
|
||||||
|
static int state = 0;
|
||||||
|
state += 1;
|
||||||
|
if (state == 4)
|
||||||
|
state = 0;
|
||||||
|
- pulse:
|
||||||
|
transition_length: 10s
|
||||||
|
update_interval: 20s
|
||||||
|
min_brightness: 10%
|
||||||
|
max_brightness: 90%
|
||||||
|
- pulse:
|
||||||
|
name: pulse2
|
||||||
|
transition_length:
|
||||||
|
on_length: 10s
|
||||||
|
off_length: 5s
|
||||||
|
update_interval: 15s
|
||||||
|
min_brightness: 10%
|
||||||
|
max_brightness: 90%
|
3
tests/components/mopeka_ble/test.esp32-c3-idf.yaml
Normal file
3
tests/components/mopeka_ble/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
esp32_ble_tracker:
|
||||||
|
|
||||||
|
mopeka_ble:
|
3
tests/components/mopeka_ble/test.esp32-c3.yaml
Normal file
3
tests/components/mopeka_ble/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
esp32_ble_tracker:
|
||||||
|
|
||||||
|
mopeka_ble:
|
3
tests/components/mopeka_ble/test.esp32-idf.yaml
Normal file
3
tests/components/mopeka_ble/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
esp32_ble_tracker:
|
||||||
|
|
||||||
|
mopeka_ble:
|
3
tests/components/mopeka_ble/test.esp32.yaml
Normal file
3
tests/components/mopeka_ble/test.esp32.yaml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
esp32_ble_tracker:
|
||||||
|
|
||||||
|
mopeka_ble:
|
16
tests/components/mopeka_pro_check/test.esp32-c3-idf.yaml
Normal file
16
tests/components/mopeka_pro_check/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
esp32_ble_tracker:
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mopeka_pro_check
|
||||||
|
mac_address: D3:75:F2:DC:16:91
|
||||||
|
tank_type: CUSTOM
|
||||||
|
custom_distance_full: 40cm
|
||||||
|
custom_distance_empty: 10mm
|
||||||
|
temperature:
|
||||||
|
name: Propane test temp
|
||||||
|
level:
|
||||||
|
name: Propane test level
|
||||||
|
distance:
|
||||||
|
name: Propane test distance
|
||||||
|
battery_level:
|
||||||
|
name: Propane test battery level
|
16
tests/components/mopeka_pro_check/test.esp32-c3.yaml
Normal file
16
tests/components/mopeka_pro_check/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
esp32_ble_tracker:
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mopeka_pro_check
|
||||||
|
mac_address: D3:75:F2:DC:16:91
|
||||||
|
tank_type: CUSTOM
|
||||||
|
custom_distance_full: 40cm
|
||||||
|
custom_distance_empty: 10mm
|
||||||
|
temperature:
|
||||||
|
name: Propane test temp
|
||||||
|
level:
|
||||||
|
name: Propane test level
|
||||||
|
distance:
|
||||||
|
name: Propane test distance
|
||||||
|
battery_level:
|
||||||
|
name: Propane test battery level
|
16
tests/components/mopeka_pro_check/test.esp32-idf.yaml
Normal file
16
tests/components/mopeka_pro_check/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
esp32_ble_tracker:
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mopeka_pro_check
|
||||||
|
mac_address: D3:75:F2:DC:16:91
|
||||||
|
tank_type: CUSTOM
|
||||||
|
custom_distance_full: 40cm
|
||||||
|
custom_distance_empty: 10mm
|
||||||
|
temperature:
|
||||||
|
name: Propane test temp
|
||||||
|
level:
|
||||||
|
name: Propane test level
|
||||||
|
distance:
|
||||||
|
name: Propane test distance
|
||||||
|
battery_level:
|
||||||
|
name: Propane test battery level
|
16
tests/components/mopeka_pro_check/test.esp32.yaml
Normal file
16
tests/components/mopeka_pro_check/test.esp32.yaml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
esp32_ble_tracker:
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mopeka_pro_check
|
||||||
|
mac_address: D3:75:F2:DC:16:91
|
||||||
|
tank_type: CUSTOM
|
||||||
|
custom_distance_full: 40cm
|
||||||
|
custom_distance_empty: 10mm
|
||||||
|
temperature:
|
||||||
|
name: Propane test temp
|
||||||
|
level:
|
||||||
|
name: Propane test level
|
||||||
|
distance:
|
||||||
|
name: Propane test distance
|
||||||
|
battery_level:
|
||||||
|
name: Propane test battery level
|
16
tests/components/mopeka_std_check/test.esp32-c3-idf.yaml
Normal file
16
tests/components/mopeka_std_check/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
esp32_ble_tracker:
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
# Example using 11kg 100% propane tank.
|
||||||
|
- platform: mopeka_std_check
|
||||||
|
mac_address: D3:75:F2:DC:16:91
|
||||||
|
tank_type: Europe_11kg
|
||||||
|
temperature:
|
||||||
|
name: "Propane test temp"
|
||||||
|
level:
|
||||||
|
name: "Propane test level"
|
||||||
|
distance:
|
||||||
|
name: "Propane test distance"
|
||||||
|
battery_level:
|
||||||
|
name: "Propane test battery level"
|
||||||
|
|
16
tests/components/mopeka_std_check/test.esp32-c3.yaml
Normal file
16
tests/components/mopeka_std_check/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
esp32_ble_tracker:
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
# Example using 11kg 100% propane tank.
|
||||||
|
- platform: mopeka_std_check
|
||||||
|
mac_address: D3:75:F2:DC:16:91
|
||||||
|
tank_type: Europe_11kg
|
||||||
|
temperature:
|
||||||
|
name: "Propane test temp"
|
||||||
|
level:
|
||||||
|
name: "Propane test level"
|
||||||
|
distance:
|
||||||
|
name: "Propane test distance"
|
||||||
|
battery_level:
|
||||||
|
name: "Propane test battery level"
|
||||||
|
|
16
tests/components/mopeka_std_check/test.esp32-idf.yaml
Normal file
16
tests/components/mopeka_std_check/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
esp32_ble_tracker:
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
# Example using 11kg 100% propane tank.
|
||||||
|
- platform: mopeka_std_check
|
||||||
|
mac_address: D3:75:F2:DC:16:91
|
||||||
|
tank_type: Europe_11kg
|
||||||
|
temperature:
|
||||||
|
name: "Propane test temp"
|
||||||
|
level:
|
||||||
|
name: "Propane test level"
|
||||||
|
distance:
|
||||||
|
name: "Propane test distance"
|
||||||
|
battery_level:
|
||||||
|
name: "Propane test battery level"
|
||||||
|
|
12
tests/components/mpl3115a2/test.esp32-c3-idf.yaml
Normal file
12
tests/components/mpl3115a2/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mpl3115a2
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mpl3115a2
|
||||||
|
temperature:
|
||||||
|
name: MPL3115A2 Temperature
|
||||||
|
pressure:
|
||||||
|
name: MPL3115A2 Pressure
|
||||||
|
update_interval: 10s
|
12
tests/components/mpl3115a2/test.esp32-c3.yaml
Normal file
12
tests/components/mpl3115a2/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mpl3115a2
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mpl3115a2
|
||||||
|
temperature:
|
||||||
|
name: MPL3115A2 Temperature
|
||||||
|
pressure:
|
||||||
|
name: MPL3115A2 Pressure
|
||||||
|
update_interval: 10s
|
12
tests/components/mpl3115a2/test.esp32-idf.yaml
Normal file
12
tests/components/mpl3115a2/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mpl3115a2
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mpl3115a2
|
||||||
|
temperature:
|
||||||
|
name: MPL3115A2 Temperature
|
||||||
|
pressure:
|
||||||
|
name: MPL3115A2 Pressure
|
||||||
|
update_interval: 10s
|
12
tests/components/mpl3115a2/test.esp32.yaml
Normal file
12
tests/components/mpl3115a2/test.esp32.yaml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mpl3115a2
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mpl3115a2
|
||||||
|
temperature:
|
||||||
|
name: MPL3115A2 Temperature
|
||||||
|
pressure:
|
||||||
|
name: MPL3115A2 Pressure
|
||||||
|
update_interval: 10s
|
12
tests/components/mpl3115a2/test.esp8266.yaml
Normal file
12
tests/components/mpl3115a2/test.esp8266.yaml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mpl3115a2
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mpl3115a2
|
||||||
|
temperature:
|
||||||
|
name: MPL3115A2 Temperature
|
||||||
|
pressure:
|
||||||
|
name: MPL3115A2 Pressure
|
||||||
|
update_interval: 10s
|
12
tests/components/mpl3115a2/test.rp2040.yaml
Normal file
12
tests/components/mpl3115a2/test.rp2040.yaml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mpl3115a2
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mpl3115a2
|
||||||
|
temperature:
|
||||||
|
name: MPL3115A2 Temperature
|
||||||
|
pressure:
|
||||||
|
name: MPL3115A2 Pressure
|
||||||
|
update_interval: 10s
|
26
tests/components/mpr121/test.esp32-c3-idf.yaml
Normal file
26
tests/components/mpr121/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mpr121
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
mpr121:
|
||||||
|
id: mpr121_first
|
||||||
|
address: 0x5A
|
||||||
|
|
||||||
|
binary_sensor:
|
||||||
|
- platform: mpr121
|
||||||
|
id: touchkey0
|
||||||
|
name: touchkey0
|
||||||
|
channel: 0
|
||||||
|
- platform: mpr121
|
||||||
|
id: bin1
|
||||||
|
name: touchkey1
|
||||||
|
channel: 1
|
||||||
|
- platform: mpr121
|
||||||
|
id: bin2
|
||||||
|
name: touchkey2
|
||||||
|
channel: 2
|
||||||
|
- platform: mpr121
|
||||||
|
id: bin3
|
||||||
|
name: touchkey3
|
||||||
|
channel: 3
|
26
tests/components/mpr121/test.esp32-c3.yaml
Normal file
26
tests/components/mpr121/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mpr121
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
mpr121:
|
||||||
|
id: mpr121_first
|
||||||
|
address: 0x5A
|
||||||
|
|
||||||
|
binary_sensor:
|
||||||
|
- platform: mpr121
|
||||||
|
id: touchkey0
|
||||||
|
name: touchkey0
|
||||||
|
channel: 0
|
||||||
|
- platform: mpr121
|
||||||
|
id: bin1
|
||||||
|
name: touchkey1
|
||||||
|
channel: 1
|
||||||
|
- platform: mpr121
|
||||||
|
id: bin2
|
||||||
|
name: touchkey2
|
||||||
|
channel: 2
|
||||||
|
- platform: mpr121
|
||||||
|
id: bin3
|
||||||
|
name: touchkey3
|
||||||
|
channel: 3
|
26
tests/components/mpr121/test.esp32-idf.yaml
Normal file
26
tests/components/mpr121/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mpr121
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
|
mpr121:
|
||||||
|
id: mpr121_first
|
||||||
|
address: 0x5A
|
||||||
|
|
||||||
|
binary_sensor:
|
||||||
|
- platform: mpr121
|
||||||
|
id: touchkey0
|
||||||
|
name: touchkey0
|
||||||
|
channel: 0
|
||||||
|
- platform: mpr121
|
||||||
|
id: bin1
|
||||||
|
name: touchkey1
|
||||||
|
channel: 1
|
||||||
|
- platform: mpr121
|
||||||
|
id: bin2
|
||||||
|
name: touchkey2
|
||||||
|
channel: 2
|
||||||
|
- platform: mpr121
|
||||||
|
id: bin3
|
||||||
|
name: touchkey3
|
||||||
|
channel: 3
|
26
tests/components/mpr121/test.esp32.yaml
Normal file
26
tests/components/mpr121/test.esp32.yaml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mpr121
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
|
mpr121:
|
||||||
|
id: mpr121_first
|
||||||
|
address: 0x5A
|
||||||
|
|
||||||
|
binary_sensor:
|
||||||
|
- platform: mpr121
|
||||||
|
id: touchkey0
|
||||||
|
name: touchkey0
|
||||||
|
channel: 0
|
||||||
|
- platform: mpr121
|
||||||
|
id: bin1
|
||||||
|
name: touchkey1
|
||||||
|
channel: 1
|
||||||
|
- platform: mpr121
|
||||||
|
id: bin2
|
||||||
|
name: touchkey2
|
||||||
|
channel: 2
|
||||||
|
- platform: mpr121
|
||||||
|
id: bin3
|
||||||
|
name: touchkey3
|
||||||
|
channel: 3
|
26
tests/components/mpr121/test.esp8266.yaml
Normal file
26
tests/components/mpr121/test.esp8266.yaml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mpr121
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
mpr121:
|
||||||
|
id: mpr121_first
|
||||||
|
address: 0x5A
|
||||||
|
|
||||||
|
binary_sensor:
|
||||||
|
- platform: mpr121
|
||||||
|
id: touchkey0
|
||||||
|
name: touchkey0
|
||||||
|
channel: 0
|
||||||
|
- platform: mpr121
|
||||||
|
id: bin1
|
||||||
|
name: touchkey1
|
||||||
|
channel: 1
|
||||||
|
- platform: mpr121
|
||||||
|
id: bin2
|
||||||
|
name: touchkey2
|
||||||
|
channel: 2
|
||||||
|
- platform: mpr121
|
||||||
|
id: bin3
|
||||||
|
name: touchkey3
|
||||||
|
channel: 3
|
26
tests/components/mpr121/test.rp2040.yaml
Normal file
26
tests/components/mpr121/test.rp2040.yaml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mpr121
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
mpr121:
|
||||||
|
id: mpr121_first
|
||||||
|
address: 0x5A
|
||||||
|
|
||||||
|
binary_sensor:
|
||||||
|
- platform: mpr121
|
||||||
|
id: touchkey0
|
||||||
|
name: touchkey0
|
||||||
|
channel: 0
|
||||||
|
- platform: mpr121
|
||||||
|
id: bin1
|
||||||
|
name: touchkey1
|
||||||
|
channel: 1
|
||||||
|
- platform: mpr121
|
||||||
|
id: bin2
|
||||||
|
name: touchkey2
|
||||||
|
channel: 2
|
||||||
|
- platform: mpr121
|
||||||
|
id: bin3
|
||||||
|
name: touchkey3
|
||||||
|
channel: 3
|
22
tests/components/mpu6050/test.esp32-c3-idf.yaml
Normal file
22
tests/components/mpu6050/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mpu6050
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mpu6050
|
||||||
|
address: 0x68
|
||||||
|
accel_x:
|
||||||
|
name: MPU6050 Accel X
|
||||||
|
accel_y:
|
||||||
|
name: MPU6050 Accel Y
|
||||||
|
accel_z:
|
||||||
|
name: MPU6050 Accel z
|
||||||
|
gyro_x:
|
||||||
|
name: MPU6050 Gyro X
|
||||||
|
gyro_y:
|
||||||
|
name: MPU6050 Gyro Y
|
||||||
|
gyro_z:
|
||||||
|
name: MPU6050 Gyro z
|
||||||
|
temperature:
|
||||||
|
name: MPU6050 Temperature
|
22
tests/components/mpu6050/test.esp32-c3.yaml
Normal file
22
tests/components/mpu6050/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mpu6050
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mpu6050
|
||||||
|
address: 0x68
|
||||||
|
accel_x:
|
||||||
|
name: MPU6050 Accel X
|
||||||
|
accel_y:
|
||||||
|
name: MPU6050 Accel Y
|
||||||
|
accel_z:
|
||||||
|
name: MPU6050 Accel z
|
||||||
|
gyro_x:
|
||||||
|
name: MPU6050 Gyro X
|
||||||
|
gyro_y:
|
||||||
|
name: MPU6050 Gyro Y
|
||||||
|
gyro_z:
|
||||||
|
name: MPU6050 Gyro z
|
||||||
|
temperature:
|
||||||
|
name: MPU6050 Temperature
|
22
tests/components/mpu6050/test.esp32-idf.yaml
Normal file
22
tests/components/mpu6050/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mpu6050
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mpu6050
|
||||||
|
address: 0x68
|
||||||
|
accel_x:
|
||||||
|
name: MPU6050 Accel X
|
||||||
|
accel_y:
|
||||||
|
name: MPU6050 Accel Y
|
||||||
|
accel_z:
|
||||||
|
name: MPU6050 Accel z
|
||||||
|
gyro_x:
|
||||||
|
name: MPU6050 Gyro X
|
||||||
|
gyro_y:
|
||||||
|
name: MPU6050 Gyro Y
|
||||||
|
gyro_z:
|
||||||
|
name: MPU6050 Gyro z
|
||||||
|
temperature:
|
||||||
|
name: MPU6050 Temperature
|
22
tests/components/mpu6050/test.esp32.yaml
Normal file
22
tests/components/mpu6050/test.esp32.yaml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mpu6050
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mpu6050
|
||||||
|
address: 0x68
|
||||||
|
accel_x:
|
||||||
|
name: MPU6050 Accel X
|
||||||
|
accel_y:
|
||||||
|
name: MPU6050 Accel Y
|
||||||
|
accel_z:
|
||||||
|
name: MPU6050 Accel z
|
||||||
|
gyro_x:
|
||||||
|
name: MPU6050 Gyro X
|
||||||
|
gyro_y:
|
||||||
|
name: MPU6050 Gyro Y
|
||||||
|
gyro_z:
|
||||||
|
name: MPU6050 Gyro z
|
||||||
|
temperature:
|
||||||
|
name: MPU6050 Temperature
|
22
tests/components/mpu6050/test.esp8266.yaml
Normal file
22
tests/components/mpu6050/test.esp8266.yaml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mpu6050
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mpu6050
|
||||||
|
address: 0x68
|
||||||
|
accel_x:
|
||||||
|
name: MPU6050 Accel X
|
||||||
|
accel_y:
|
||||||
|
name: MPU6050 Accel Y
|
||||||
|
accel_z:
|
||||||
|
name: MPU6050 Accel z
|
||||||
|
gyro_x:
|
||||||
|
name: MPU6050 Gyro X
|
||||||
|
gyro_y:
|
||||||
|
name: MPU6050 Gyro Y
|
||||||
|
gyro_z:
|
||||||
|
name: MPU6050 Gyro z
|
||||||
|
temperature:
|
||||||
|
name: MPU6050 Temperature
|
22
tests/components/mpu6050/test.rp2040.yaml
Normal file
22
tests/components/mpu6050/test.rp2040.yaml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
i2c:
|
||||||
|
- id: i2c_mpu6050
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mpu6050
|
||||||
|
address: 0x68
|
||||||
|
accel_x:
|
||||||
|
name: MPU6050 Accel X
|
||||||
|
accel_y:
|
||||||
|
name: MPU6050 Accel Y
|
||||||
|
accel_z:
|
||||||
|
name: MPU6050 Accel z
|
||||||
|
gyro_x:
|
||||||
|
name: MPU6050 Gyro X
|
||||||
|
gyro_y:
|
||||||
|
name: MPU6050 Gyro Y
|
||||||
|
gyro_z:
|
||||||
|
name: MPU6050 Gyro z
|
||||||
|
temperature:
|
||||||
|
name: MPU6050 Temperature
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue