ESPHome-Devices/devices/kitchen-table-light.yaml
Chris Nussbaum c911f80995
Minor updates (#35)
* Update devices within range of  new wifi AP to use the ssid of that AP
* Use dashes in name of updated devices
2022-04-20 15:07:09 -05:00

37 lines
1007 B
YAML

substitutions:
device_id: kitchen-table-light
device_name: Kitchen Table Light
ip_address: !secret kitchen-table-light-ip
ota_pwd: !secret kitchen-table-light-ota-pwd
api_pwd: !secret kitchen-table-light-api-pwd
ap_wifi_pwd: !secret kitchen-table-light-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.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: 255
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: 55.1