A couple new devices
This commit is contained in:
44
treatlife_ss01s_a.yaml
Normal file
44
treatlife_ss01s_a.yaml
Normal file
@@ -0,0 +1,44 @@
|
||||
substitutions:
|
||||
device_name: treatlife_ss01s_a
|
||||
device_ip: 192.168.87.76
|
||||
|
||||
esphome:
|
||||
name: ${device_name}
|
||||
platform: ESP8266
|
||||
board: esp01_1m
|
||||
# platformio_options:
|
||||
# upload_speed: 115200 #baud, tagging this so grep will find it later
|
||||
|
||||
<<: !include standard_wifi.yaml
|
||||
|
||||
logger:
|
||||
baud_rate: 0 # (UART logging interferes with cse7766)
|
||||
|
||||
api:
|
||||
# reboot_timeout: 15min
|
||||
|
||||
ota:
|
||||
|
||||
# Device Specific Config
|
||||
|
||||
switch:
|
||||
- platform: gpio
|
||||
id: "relay"
|
||||
name: "light"
|
||||
pin: 12
|
||||
|
||||
output:
|
||||
- platform: esp8266_pwm
|
||||
id: status_led
|
||||
pin:
|
||||
number: GPIO4
|
||||
inverted: True
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: "button"
|
||||
pin:
|
||||
number: 13
|
||||
inverted: True
|
||||
on_press:
|
||||
- switch.toggle: relay
|
||||
Reference in New Issue
Block a user