cleaned for new home
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
substitutions:
|
||||
device_name: "kersthuis-01"
|
||||
friendly_name: "kersthuis-01"
|
||||
friendly_name: "kersthuis-01_staircase"
|
||||
comment: "esp32-c3"
|
||||
location: "woonkamer"
|
||||
api_password: !secret kersthuis-01_api
|
||||
@@ -17,37 +17,28 @@ packages:
|
||||
board: !include boards/esp32-C3.yaml
|
||||
device_base: !include common/common.yaml
|
||||
connection: !include common/wifi.yaml
|
||||
# status: !include templates/status.yaml
|
||||
logger: !include templates/logger.yaml
|
||||
|
||||
#led packages
|
||||
ledje1: !include
|
||||
file: templates/LedWithEffects.yaml
|
||||
vars:
|
||||
entityID: led_lights
|
||||
entityName: "led string 1"
|
||||
pin_led: ${pin_led1}
|
||||
|
||||
light:
|
||||
- platform: monochromatic
|
||||
id: led_lights
|
||||
restore_mode: RESTORE_DEFAULT_ON
|
||||
output: leds
|
||||
name: "led string 1"
|
||||
effects:
|
||||
- flicker:
|
||||
name: "Flicker"
|
||||
alpha: 95%
|
||||
intensity: 1.5%
|
||||
|
||||
output:
|
||||
- platform: ledc
|
||||
pin: ${pin_led1}
|
||||
id: leds
|
||||
|
||||
# binary_sensor:
|
||||
# - platform: gpio
|
||||
# name: "Button"
|
||||
# pin: ${pin_button}
|
||||
# filters:
|
||||
# - delayed_on: 20ms
|
||||
# on_click:
|
||||
# min_length: 50ms
|
||||
# max_length: 1000ms
|
||||
# then:
|
||||
# - light.toggle:
|
||||
# id: led_lights
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: "Button"
|
||||
pin: ${pin_button}
|
||||
filters:
|
||||
- delayed_on: 20ms
|
||||
on_click:
|
||||
min_length: 50ms
|
||||
max_length: 1000ms
|
||||
then:
|
||||
- light.toggle:
|
||||
id: led_lights
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user