ESPHome-Devices/devices/master-bath-lights-2.yaml
Chris Nussbaum f3718ac265
Finish removing underscores from names (#36)
Move remaining devices to new wifi
Compile all devices script does a backup first
2022-04-28 20:54:30 -05:00

33 lines
945 B
YAML

substitutions:
device_id: master-bath-lights-2
device_name: Master Bathroom Lights 2
ip_address: !secret master-bath-lights-2-ip
ota_pwd: !secret master-bath-lights-2-ota-pwd
api_pwd: !secret master-bath-lights-2-api-pwd
ap_wifi_pwd: !secret master-bath-lights-2-ap-pwd
wifi_ssid: !secret new-wifi-ssid
wifi_password: !secret new-wifi-password
ip_subnet: !secret new-ip-subnet
ip_gateway: !secret new-ip-gateway
packages:
feit_dimmer: !include ../packages/feit_dimmer_without_power.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