2020-09-22 20:49:55 +00:00
|
|
|
substitutions:
|
|
|
|
device_id: master_bath_lights_2
|
|
|
|
device_name: Master Bathroom Lights 2
|
2021-09-25 02:51:31 +00:00
|
|
|
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
|
2020-10-07 19:27:16 +00:00
|
|
|
|
|
|
|
packages:
|
2021-08-14 22:13:17 +00:00
|
|
|
feit_dimmer: !include ../packages/feit_dimmer_without_power.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
|
2021-08-18 02:55:21 +00:00
|
|
|
day_default_brightness: 128
|
2021-07-12 13:33:37 +00:00
|
|
|
night_default_brightness: 1
|
|
|
|
day_auto_off_time: 0 min
|
|
|
|
night_auto_off_time: 15 min
|