ESPHome-Devices/packages/feit_dimmer_as_fan.yaml
Chris Nussbaum 1b6d90d399
A bunch of misc changes (#32)
* Temporarily disable the heater

* Shell of new garage fridge component

* Core code should be mostly complete

* Add power monitoring and freezer temp control

* Wrap up core temperature management code

* Add fixed InkBird component

* The new fridge manages temp in the freezer better so we are able to greatly simplify things

* Finish garage fridge

* Misc changes

Co-authored-by: Chris Nussbaum <chris.nussbaum@protolabs.com>
2022-03-29 13:54:34 -05:00

46 lines
865 B
YAML

substitutions:
board: esp01_1m
external_components:
- source:
type: local
path: ../components
components: [ tuya_dimmer_as_fan ]
- source: github://cbpowell/ESPSense
components: [ espsense ]
packages:
base: !include device_base.yaml
logger: !include logger/logger_no_serial.yaml
uart: !include uart/tuya.yaml
espsense:
plugs:
- name: ${device_name}
power_sensor: power
voltage: 120
fan:
- platform: tuya_dimmer_as_fan
id: tuya_fan
name: ${device_name}
switch_datapoint: 1
dimmer_datapoint: 2
dimmer_max_value: 1000
power:
id: power
name: ${device_name} Power
fan_wattage: ${fan_wattage}
sensor:
- platform: total_daily_energy
name: ${device_name}
power_id: power
method: left
min_save_interval: 10min
time:
- platform: homeassistant
tuya: