many changes
This commit is contained in:
@@ -9,13 +9,34 @@ esphome:
|
||||
board: esp01_1m
|
||||
on_boot:
|
||||
then:
|
||||
- light.turn_on: my_light
|
||||
- light.turn_on:
|
||||
id: my_light
|
||||
- delay: 100ms
|
||||
- light.turn_on:
|
||||
id: my_light
|
||||
brightness: 20%
|
||||
- delay: 100ms
|
||||
- light.turn_on:
|
||||
id: my_light
|
||||
color_temperature: 2700 K
|
||||
|
||||
# Enable logging
|
||||
logger:
|
||||
|
||||
web_server:
|
||||
port: 80
|
||||
|
||||
interval:
|
||||
- interval: 15s
|
||||
then:
|
||||
- if:
|
||||
condition:
|
||||
api.connected: # check if api connected
|
||||
else:
|
||||
- light.turn_on:
|
||||
id: my_light
|
||||
brightness: 100%
|
||||
- delay: 100ms
|
||||
- light.turn_on:
|
||||
id: my_light
|
||||
color_temperature: 6500 K
|
||||
|
||||
|
||||
# Enable Home Assistant API
|
||||
api:
|
||||
@@ -29,8 +50,6 @@ wifi:
|
||||
fast_connect: True
|
||||
domain: .cloonar.smart
|
||||
|
||||
captive_portal:
|
||||
|
||||
output:
|
||||
- platform: esp8266_pwm
|
||||
id: warm_white
|
||||
|
||||
Reference in New Issue
Block a user