mirror of
https://github.com/nuttytree/ESPHome-Devices.git
synced 2024-08-30 18:12:19 +00:00
fc5873c2cf
Add master bath fan, second light dimmer, and temp/humidity sensor Fix occasional issue with tripping the over current on the pool pumps
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
substitutions:
|
|
device_id: example_gosund_dimmer
|
|
device_name: Example Light
|
|
platform: ESP8266
|
|
board: esp01_1m
|
|
ip_address: !secret example_gosund_dimmer_ip
|
|
ota_pwd: !secret example_gosund_dimmer_ota_pwd
|
|
api_pwd: !secret example_gosund_dimmer_pwd
|
|
ap_wifi_pwd: !secret example_gosund_dimmer_ap_wifi_pwd
|
|
|
|
day_level: '100'
|
|
night_level: '10'
|
|
|
|
esphome:
|
|
<<: !include common/esphome.yaml
|
|
includes:
|
|
- gosund_sw2_dimmer.h
|
|
|
|
<<: !include common/common_gosund_dimmer.yaml
|
|
<<: !include common/logger/logger_debug_no_serial.yaml
|
|
|
|
binary_sensor:
|
|
- !include common/binary_sensor/status.yaml
|
|
- !include common/binary_sensor/day_night.yaml
|
|
- !include common/binary_sensor/gosund_dimmer_button.yaml
|
|
|
|
sensor:
|
|
- !include common/sensor/uptime.yaml
|
|
- !include common/sensor/wifi.yaml
|
|
|
|
switch:
|
|
- !include common/switch/restart.yaml
|
|
|
|
text_sensor:
|
|
- !include common/text_sensor/version.yaml
|
|
- !include common/text_sensor/wifi.yaml
|
|
|
|
script:
|
|
- id: single_tap
|
|
then:
|
|
- logger.log: "Single Tap"
|
|
- id: double_tap
|
|
then:
|
|
- logger.log: "Double Tap"
|