ESPHome-Devices/packages/feit_dimmer.yaml

34 lines
621 B
YAML
Raw Normal View History

2020-10-07 12:56:19 +00:00
substitutions:
platform: ESP8266
board: esp01_1m
2021-06-18 19:44:49 +00:00
external_components:
- source:
type: local
path: ../components
components: [ tuya, tuya_light_plus ]
- source: github://cbpowell/ESPSense
components: [ espsense ]
espsense:
plugs:
- name: ${device_name}
power_sensor: power
voltage: 120
2021-06-18 19:44:49 +00:00
2020-10-07 12:56:19 +00:00
packages:
base: !include device_base.yaml
logger: !include logger/logger_no_serial.yaml
uart: !include uart/tuya.yaml
sensor:
- platform: total_daily_energy
name: ${device_name}
power_id: power
state_class: measurement
time:
- platform: homeassistant
2021-06-18 19:44:49 +00:00
tuya: