config files on 28-11-2023 12:46:43

This commit is contained in:
2023-11-28 12:46:43 +01:00
parent 9cc6076da0
commit 423d32fada
101 changed files with 167879 additions and 3008 deletions

View File

@@ -17,16 +17,22 @@ packages:
board: !include boards/esp32_m5atom.yaml
connection: !include common/wifi.yaml
device_base: !include common/common.yaml
bt_proxy: !include templates/ble_proxy.yaml
bt_proxy: !include common/bluetooth.yaml
logger: !include templates/nologger.yaml
web_server:
port: 80
local: true
js_include: "include/www.js"
js_url: ""
binary_sensor:
- platform: gpio
pin:
number: ${pin_button}
inverted: true
name: ${device_name}_Button
id: button
id: rgb_button
on_click:
then:
- if:
@@ -36,6 +42,17 @@ binary_sensor:
- light.turn_off: RGB_Light
else:
- light.turn_on: RGB_Light
on_double_click:
then:
- if:
condition:
- light.is_on: RGB_Light
then:
- light.dim_relative:
id: RGB_Light
relative_brightness: 10%
else:
- light.turn_on: RGB_Light
light:
- platform: neopixelbus
@@ -53,4 +70,5 @@ light:
- addressable_rainbow:
name: Rainbow Effect
speed: 100
width: 50
width: 50