many changes

This commit is contained in:
2024-11-15 02:30:04 +01:00
parent 1746412a11
commit bd9f1ce260
22 changed files with 412 additions and 170 deletions

View File

@@ -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