1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-31 07:03:55 +00:00

Add some components to the new testing framework (T) (#6229)

This commit is contained in:
Keith Burzinski
2024-04-23 04:49:03 -05:00
committed by GitHub
parent 18149bc276
commit ed381b45eb
158 changed files with 4034 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
wifi:
ssid: MySSID
password: password1
time:
- platform: sntp
id: sntp_time
sensor:
- platform: hlw8012
sel_pin: 15
cf_pin: 14
cf1_pin: 13
current:
name: HLW8012 Current
voltage:
name: HLW8012 Voltage
power:
name: HLW8012 Power
id: hlw8012_power
energy:
name: HLW8012 Energy
id: hlw8012_energy
update_interval: 15s
current_resistor: 0.001 ohm
voltage_divider: 2351
change_mode_every: "never"
initial_mode: VOLTAGE
model: hlw8012
- platform: total_daily_energy
name: HLW8012 Total Daily Energy
power_id: hlw8012_power