Files
ESPHome-Devices/packages/feit_dimmer_as_fan.yaml
Chris Nussbaum 5bc7f2d661 Update to Folder Structure Required by ESPHome Container (#43)
* Move device files from devices folder to root
* Update relative file references to match new relative paths
* Update README with new folder structure
2023-02-15 13:42:51 -06:00

34 lines
621 B
YAML

substitutions:
board: esp01_1m
log_baud_rate: '0'
external_components:
- source:
type: local
path: ./components
components: [ tuya_dimmer_as_fan ]
packages:
base: !include device_base_esp8266.yaml
uart: !include uart/tuya.yaml
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
tuya: