Giter Site home page Giter Site logo

hassio-broadlink_cover's Introduction

#broadlink cover

Home Assistant Custom Component for Broadlink Cover platform. 已支持 HACS(添加源https://github.com/zoranke/Hassio-broadlink_cover)

installation notes: place this file in the following folder and restart home assistant:

/config/custom_components/broadlink_cover

##################################################################################

初次使用时如报错,可以屏蔽掉下方代码,运行一次后恢复代码,可记录上次重启轨道运行记录

################################################################################## async def async_added_to_hass(self): await super().async_added_to_hass() last_state = await self.async_get_last_state()

    if last_state:
       self._position = last_state.attributes['current_position']
    else:
       self._position = None

配置实例见sample_cover.yaml

hassio-broadlink_cover's People

Contributors

zoranke avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.