forked from esphome/esphome
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some components to the new testing framework (B) (esphome#6173)
- Loading branch information
Showing
130 changed files
with
2,650 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
esp32_ble_tracker: | ||
|
||
sensor: | ||
- platform: b_parasite | ||
mac_address: F0:CA:F0:CA:01:01 | ||
humidity: | ||
name: b-parasite Air Humidity | ||
temperature: | ||
name: b-parasite Air Temperature | ||
moisture: | ||
name: b-parasite Soil Moisture | ||
battery_voltage: | ||
name: b-parasite Battery Voltage | ||
illuminance: | ||
name: b-parasite Illuminance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
esp32_ble_tracker: | ||
|
||
sensor: | ||
- platform: b_parasite | ||
mac_address: F0:CA:F0:CA:01:01 | ||
humidity: | ||
name: b-parasite Air Humidity | ||
temperature: | ||
name: b-parasite Air Temperature | ||
moisture: | ||
name: b-parasite Soil Moisture | ||
battery_voltage: | ||
name: b-parasite Battery Voltage | ||
illuminance: | ||
name: b-parasite Illuminance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
esp32_ble_tracker: | ||
|
||
sensor: | ||
- platform: b_parasite | ||
mac_address: F0:CA:F0:CA:01:01 | ||
humidity: | ||
name: b-parasite Air Humidity | ||
temperature: | ||
name: b-parasite Air Temperature | ||
moisture: | ||
name: b-parasite Soil Moisture | ||
battery_voltage: | ||
name: b-parasite Battery Voltage | ||
illuminance: | ||
name: b-parasite Illuminance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
esp32_ble_tracker: | ||
|
||
sensor: | ||
- platform: b_parasite | ||
mac_address: F0:CA:F0:CA:01:01 | ||
humidity: | ||
name: b-parasite Air Humidity | ||
temperature: | ||
name: b-parasite Air Temperature | ||
moisture: | ||
name: b-parasite Soil Moisture | ||
battery_voltage: | ||
name: b-parasite Battery Voltage | ||
illuminance: | ||
name: b-parasite Illuminance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
remote_transmitter: | ||
pin: 2 | ||
carrier_duty_percent: 50% | ||
|
||
climate: | ||
- platform: heatpumpir | ||
protocol: ballu | ||
horizontal_default: middle | ||
vertical_default: middle | ||
name: HeatpumpIR Climate | ||
min_temperature: 18 | ||
max_temperature: 30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
remote_transmitter: | ||
pin: 5 | ||
carrier_duty_percent: 50% | ||
|
||
climate: | ||
- platform: heatpumpir | ||
protocol: ballu | ||
horizontal_default: middle | ||
vertical_default: middle | ||
name: HeatpumpIR Climate | ||
min_temperature: 18 | ||
max_temperature: 30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
switch: | ||
- platform: template | ||
id: template_switch1 | ||
optimistic: true | ||
- platform: template | ||
id: template_switch2 | ||
optimistic: true | ||
|
||
sensor: | ||
- platform: template | ||
id: template_sensor1 | ||
lambda: |- | ||
if (millis() > 10000) { | ||
return 42.0; | ||
} else { | ||
return 0.0; | ||
} | ||
update_interval: 60s | ||
|
||
climate: | ||
- platform: bang_bang | ||
name: Bang Bang Climate | ||
sensor: template_sensor1 | ||
humidity_sensor: template_sensor1 | ||
default_target_temperature_low: 18°C | ||
default_target_temperature_high: 24°C | ||
idle_action: | ||
- switch.turn_on: template_switch1 | ||
cool_action: | ||
- switch.turn_on: template_switch2 | ||
heat_action: | ||
- switch.turn_on: template_switch1 | ||
away_config: | ||
default_target_temperature_low: 16°C | ||
default_target_temperature_high: 20°C |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
switch: | ||
- platform: template | ||
id: template_switch1 | ||
optimistic: true | ||
- platform: template | ||
id: template_switch2 | ||
optimistic: true | ||
|
||
sensor: | ||
- platform: template | ||
id: template_sensor1 | ||
lambda: |- | ||
if (millis() > 10000) { | ||
return 42.0; | ||
} else { | ||
return 0.0; | ||
} | ||
update_interval: 60s | ||
|
||
climate: | ||
- platform: bang_bang | ||
name: Bang Bang Climate | ||
sensor: template_sensor1 | ||
humidity_sensor: template_sensor1 | ||
default_target_temperature_low: 18°C | ||
default_target_temperature_high: 24°C | ||
idle_action: | ||
- switch.turn_on: template_switch1 | ||
cool_action: | ||
- switch.turn_on: template_switch2 | ||
heat_action: | ||
- switch.turn_on: template_switch1 | ||
away_config: | ||
default_target_temperature_low: 16°C | ||
default_target_temperature_high: 20°C |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
switch: | ||
- platform: template | ||
id: template_switch1 | ||
optimistic: true | ||
- platform: template | ||
id: template_switch2 | ||
optimistic: true | ||
|
||
sensor: | ||
- platform: template | ||
id: template_sensor1 | ||
lambda: |- | ||
if (millis() > 10000) { | ||
return 42.0; | ||
} else { | ||
return 0.0; | ||
} | ||
update_interval: 60s | ||
|
||
climate: | ||
- platform: bang_bang | ||
name: Bang Bang Climate | ||
sensor: template_sensor1 | ||
humidity_sensor: template_sensor1 | ||
default_target_temperature_low: 18°C | ||
default_target_temperature_high: 24°C | ||
idle_action: | ||
- switch.turn_on: template_switch1 | ||
cool_action: | ||
- switch.turn_on: template_switch2 | ||
heat_action: | ||
- switch.turn_on: template_switch1 | ||
away_config: | ||
default_target_temperature_low: 16°C | ||
default_target_temperature_high: 20°C |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
switch: | ||
- platform: template | ||
id: template_switch1 | ||
optimistic: true | ||
- platform: template | ||
id: template_switch2 | ||
optimistic: true | ||
|
||
sensor: | ||
- platform: template | ||
id: template_sensor1 | ||
lambda: |- | ||
if (millis() > 10000) { | ||
return 42.0; | ||
} else { | ||
return 0.0; | ||
} | ||
update_interval: 60s | ||
|
||
climate: | ||
- platform: bang_bang | ||
name: Bang Bang Climate | ||
sensor: template_sensor1 | ||
humidity_sensor: template_sensor1 | ||
default_target_temperature_low: 18°C | ||
default_target_temperature_high: 24°C | ||
idle_action: | ||
- switch.turn_on: template_switch1 | ||
cool_action: | ||
- switch.turn_on: template_switch2 | ||
heat_action: | ||
- switch.turn_on: template_switch1 | ||
away_config: | ||
default_target_temperature_low: 16°C | ||
default_target_temperature_high: 20°C |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
switch: | ||
- platform: template | ||
id: template_switch1 | ||
optimistic: true | ||
- platform: template | ||
id: template_switch2 | ||
optimistic: true | ||
|
||
sensor: | ||
- platform: template | ||
id: template_sensor1 | ||
lambda: |- | ||
if (millis() > 10000) { | ||
return 42.0; | ||
} else { | ||
return 0.0; | ||
} | ||
update_interval: 60s | ||
|
||
climate: | ||
- platform: bang_bang | ||
name: Bang Bang Climate | ||
sensor: template_sensor1 | ||
humidity_sensor: template_sensor1 | ||
default_target_temperature_low: 18°C | ||
default_target_temperature_high: 24°C | ||
idle_action: | ||
- switch.turn_on: template_switch1 | ||
cool_action: | ||
- switch.turn_on: template_switch2 | ||
heat_action: | ||
- switch.turn_on: template_switch1 | ||
away_config: | ||
default_target_temperature_low: 16°C | ||
default_target_temperature_high: 20°C |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
switch: | ||
- platform: template | ||
id: template_switch1 | ||
optimistic: true | ||
- platform: template | ||
id: template_switch2 | ||
optimistic: true | ||
|
||
sensor: | ||
- platform: template | ||
id: template_sensor1 | ||
lambda: |- | ||
if (millis() > 10000) { | ||
return 42.0; | ||
} else { | ||
return 0.0; | ||
} | ||
update_interval: 60s | ||
|
||
climate: | ||
- platform: bang_bang | ||
name: Bang Bang Climate | ||
sensor: template_sensor1 | ||
humidity_sensor: template_sensor1 | ||
default_target_temperature_low: 18°C | ||
default_target_temperature_high: 24°C | ||
idle_action: | ||
- switch.turn_on: template_switch1 | ||
cool_action: | ||
- switch.turn_on: template_switch2 | ||
heat_action: | ||
- switch.turn_on: template_switch1 | ||
away_config: | ||
default_target_temperature_low: 16°C | ||
default_target_temperature_high: 20°C |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
wifi: | ||
ssid: MySSID | ||
password: password1 | ||
|
||
time: | ||
- platform: sntp | ||
id: sntp_time | ||
servers: | ||
- 0.pool.ntp.org | ||
- 1.pool.ntp.org | ||
- 192.168.178.1 | ||
|
||
esp32_ble_tracker: | ||
|
||
ble_client: | ||
- mac_address: 01:02:03:04:05:06 | ||
id: bedjet_blec | ||
|
||
bedjet: | ||
- id: bedjet_hub | ||
ble_client_id: bedjet_blec | ||
time_id: sntp_time | ||
|
||
climate: | ||
- platform: bedjet | ||
name: My Bedjet | ||
bedjet_id: bedjet_hub | ||
heat_mode: extended | ||
|
||
fan: | ||
- platform: bedjet | ||
name: My Bedjet fan | ||
bedjet_id: bedjet_hub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
wifi: | ||
ssid: MySSID | ||
password: password1 | ||
|
||
time: | ||
- platform: sntp | ||
id: sntp_time | ||
servers: | ||
- 0.pool.ntp.org | ||
- 1.pool.ntp.org | ||
- 192.168.178.1 | ||
|
||
esp32_ble_tracker: | ||
|
||
ble_client: | ||
- mac_address: 01:02:03:04:05:06 | ||
id: bedjet_blec | ||
|
||
bedjet: | ||
- id: bedjet_hub | ||
ble_client_id: bedjet_blec | ||
time_id: sntp_time | ||
|
||
climate: | ||
- platform: bedjet | ||
name: My Bedjet | ||
bedjet_id: bedjet_hub | ||
heat_mode: extended | ||
|
||
fan: | ||
- platform: bedjet | ||
name: My Bedjet fan | ||
bedjet_id: bedjet_hub |
Oops, something went wrong.