2020-03-22 14:04:38 +00:00
|
|
|
substitutions:
|
2022-04-20 20:07:09 +00:00
|
|
|
device_id: living-room-lights
|
2020-03-22 14:04:38 +00:00
|
|
|
device_name: Living Room Lights
|
2021-09-25 02:51:31 +00:00
|
|
|
ip_address: !secret living-room-lights-ip
|
|
|
|
ota_pwd: !secret living-room-lights-ota-pwd
|
|
|
|
api_pwd: !secret living-room-lights-api-pwd
|
|
|
|
ap_wifi_pwd: !secret living-room-lights-ap-pwd
|
2020-10-07 19:27:16 +00:00
|
|
|
|
|
|
|
packages:
|
2023-02-15 19:42:51 +00:00
|
|
|
feit_dimmer: !include ./packages/feit_dimmer.yaml
|
2021-07-12 13:33:37 +00:00
|
|
|
|
|
|
|
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
|
2021-08-14 22:13:17 +00:00
|
|
|
power:
|
|
|
|
id: power
|
|
|
|
name: ${device_name} Power
|
|
|
|
light_wattage: 117.6
|