ESPHome-Devices/old_devices/master-bath-lights-1.yaml
Chris Nussbaum 9998ad39db
More Cleanup (#44)
* Update file names to match device name
* Switch most devices to encryption key
* Move old devices to subfolder
* Fix more relative file references
2023-02-16 13:27:42 -06:00

33 lines
854 B
YAML

substitutions:
device_id: master-bath-lights
device_name: Master Bathroom Lights
ip_address: !secret master-bath-lights-ip
ota_pwd: !secret master-bath-lights-ota-pwd
api_pwd: !secret master-bath-lights-api-pwd
ap_wifi_pwd: !secret master-bath-lights-ap-pwd
packages:
feit_dimmer: !include ./packages/feit_dimmer.yaml
light:
- platform: tuya_light_plus
id: tuya_light
name: ${device_name}
switch_datapoint: 1
dimmer_datapoint: 2
max_value: 1000
linked_lights:
day_night:
sensor_id: sensor.day_night
sensor_type: text
sensor_day_value: Day
sensor_night_value: Night
day_default_brightness: 128
night_default_brightness: 1
day_auto_off_time: 0 min
night_auto_off_time: 15 min
power:
id: power
name: ${device_name} Power
light_wattage: 81.5