ESPHome-Devices/packages/feit_dimmer.yaml
Chris Nussbaum adc77d67d9
Energy monitoring fixes (#17)
* Fix energy monitoring for feit dimmers

* More energy reporting fixes/updates

* More energy monitoring updates

* Include missed readme update

* Final power monitoring updates

Co-authored-by: Chris Nussbaum <chris.nussbaum@protolabs.com>
2021-08-17 21:55:21 -05:00

35 lines
658 B
YAML

substitutions:
platform: ESP8266
board: esp01_1m
external_components:
- source:
type: local
path: ../components
components: [ tuya, tuya_light_plus, total_daily_energy ]
- source: github://cbpowell/ESPSense
components: [ espsense ]
espsense:
plugs:
- name: ${device_name}
power_sensor: power
voltage: 120
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
method: left
min_save_interval: 10min
time:
- platform: homeassistant
tuya: