many changes
This commit is contained in:
@@ -8,14 +8,32 @@ esphome:
|
||||
platform: ESP8266
|
||||
board: esp01_1m
|
||||
on_boot:
|
||||
priority: 300
|
||||
then:
|
||||
- light.turn_on: my_light
|
||||
|
||||
# Enable logging
|
||||
logger:
|
||||
|
||||
web_server:
|
||||
port: 80
|
||||
- light.turn_on:
|
||||
id: my_light
|
||||
- delay: 100ms
|
||||
- light.turn_on:
|
||||
id: my_light
|
||||
brightness: 30%
|
||||
- delay: 100ms
|
||||
- light.turn_on:
|
||||
id: my_light
|
||||
red: 100%
|
||||
green: 50%
|
||||
blue: 0%
|
||||
white: 100%
|
||||
|
||||
interval:
|
||||
- interval: 15s
|
||||
then:
|
||||
- if:
|
||||
condition:
|
||||
api.connected: # check if api connected
|
||||
else:
|
||||
- light.turn_on:
|
||||
id: my_light
|
||||
brightness: 100%
|
||||
|
||||
# Enable Home Assistant API
|
||||
api:
|
||||
@@ -29,8 +47,6 @@ wifi:
|
||||
fast_connect: True
|
||||
domain: .cloonar.smart
|
||||
|
||||
captive_portal:
|
||||
|
||||
light:
|
||||
- platform: rgbw
|
||||
id: my_light
|
||||
@@ -39,10 +55,6 @@ light:
|
||||
green: pwm_g
|
||||
blue: pwm_b
|
||||
white: pwm_w
|
||||
effects:
|
||||
- random:
|
||||
- strobe:
|
||||
- flicker:
|
||||
|
||||
output:
|
||||
- platform: esp8266_pwm
|
||||
|
||||
Reference in New Issue
Block a user