20260326
This commit is contained in:
42
esphome/archive/zemismart-curtain.yaml
Executable file
42
esphome/archive/zemismart-curtain.yaml
Executable file
@@ -0,0 +1,42 @@
|
||||
substitutions:
|
||||
device_name: "zemismart-curtain"
|
||||
friendly_name: "zemismart curtain"
|
||||
comment: "esp8266 tuya mcu curtain"
|
||||
location: "overloop"
|
||||
api_password: !secret zemismart_curtain
|
||||
ota_password: !secret ota_password
|
||||
wifi_ssid: !secret wifi_ssid
|
||||
wifi_password: !secret wifi_password
|
||||
wifi_ssid2: !secret wifi_ssid2
|
||||
wifi_password2: !secret wifi_password2
|
||||
gateway: !secret ip_gateway
|
||||
subnet: !secret ip_subnet
|
||||
ip: !secret zemismart_curtain_ip
|
||||
pin_curtain_rx: GPIO13
|
||||
pin_curtain_tx: GPIO15
|
||||
|
||||
|
||||
packages:
|
||||
board: !include boards/esp01.yaml
|
||||
device_base: !include common/common.yaml
|
||||
connection: !include common/wifi.yaml
|
||||
logger: !include templates/nologger.yaml
|
||||
|
||||
uart:
|
||||
- !include interfaces/uart_tywe1s.yaml
|
||||
|
||||
# esphome:
|
||||
# includes:
|
||||
# - include/bcm500ds.h
|
||||
|
||||
external_components:
|
||||
- source: components
|
||||
components: [ tuya_cover ]
|
||||
|
||||
cover:
|
||||
platform: tuya_cover
|
||||
name: Tuya cover
|
||||
|
||||
# custom_component:
|
||||
# - lambda: |-
|
||||
# return { new CustomAPI() };
|
||||
Reference in New Issue
Block a user