xiongweixp 7e80c03d99 修改镜像为bullseye,并改为国内源 10 mesi fa
..
dist 99a55209d6 Release: v1.4.3 1 anno fa
node_modules 82ba40c047 Release v1.3.0 2 anni fa
CHANGELOG.md 99a55209d6 Release: v1.4.3 1 anno fa
DOCS.md fb8bb08174 init 3 anni fa
Dockerfile 7e80c03d99 修改镜像为bullseye,并改为国内源 10 mesi fa
README.md 9c9f997bbc Release v1.3.2 2 anni fa
config.json 99a55209d6 Release: v1.4.3 1 anno fa
icon.png fb8bb08174 init 3 anni fa
package.json 6349fc0c2f Release v1.2.5 2 anni fa

README.md

eWeLink Smart Home

Help

  • 如果遇到Failed to call service xxxxx/xxxxxxx. Service not found.的问题。建议使用 HomeAssistant 自带的 AddonFile editor编辑configuration.yaml。在文件尾部追加以下内容:

    switch:
    - platform: template
    switches:
      ewelink_virtual_switch:
        turn_on:
          service: switch.turn_on
        turn_off:
          service: switch.turn_off
    
    cover:
    - platform: template
    covers:
      ewelink_virtual_cover:
        open_cover:
          service: cover.open_cover
        close_cover:
          service: cover.close_cover
        stop_cover:
          service: cover.stop_cover
        set_cover_position:
          service: cover.set_cover_position
    
    fan:
    - platform: template
    fans:
      ewelink_virtual_fan:
        value_template: "{{ states('input_boolean.state') }}"
        turn_on:
          service: fan.turn_on
        turn_off:
          service: fan.turn_off
        set_preset_mode:
          service: fan.set_preset_mode
    
    light:
    - platform: template
    lights:
      ewelink_virtual_light:
        turn_on:
          service: light.turn_on
        turn_off:
          service: light.turn_off
    

保存成功后重启 HomeAssistant 即可