Home Assistant Git Exporter

This commit is contained in:
root
2024-05-31 09:39:52 +02:00
parent cd6fa93633
commit d5ccfbb540
1353 changed files with 43876 additions and 0 deletions

View File

@@ -0,0 +1,65 @@
substitutions:
device_name: "sonoff-dressing"
friendly_name: "sonoff-dressing"
project_name: "sonoff.dressing"
project_version: "1.0"
adresse_ip: 10.0.2.62
packages:
## include wifi networks, manual_ip, ap
wifi: !include common/wifi.yaml
#include logger with syslog, api, ota, webserver, captive portal
device_base: !include common/device_base.yaml
esphome:
name: "${device_name}"
project:
name: "${project_name}"
version: "${project_version}"
esp8266:
board: esp01_1m
light:
- platform: binary
name: "Dressing"
output: light_output
id: light_dressing
output:
- id: light_output
platform: gpio
pin: GPIO12
binary_sensor:
#include status
- <<: !include common/generic_binarysensor.yaml
- platform: gpio
pin:
number: GPIO0
mode: INPUT_PULLUP
inverted: true
name: "Sonoff Dressing Button"
on_press:
- light.toggle: light_dressing
sensor:
#include uptime et wifisignal
- <<: !include common/generic_sensor.yaml
status_led:
pin:
number: GPIO13
inverted: yes
switch:
#include restart
- <<: !include common/generic_switch.yaml
text_sensor:
#include wifi info : ipaddress ssid
- <<: !include common/generic_textsensor.yaml