/hass-lifesmart

lifesmart设备接入home assistant插件

Primary LanguagePython

使用说明

lifesmart 设备接入 HomeAssistant插件

Updates:

[20220-10-09]

  1. Added scene_set service
  2. Added ai and scene as a switch
  3. Added included AI agt and me setting as a switch setting in configuration.yaml

Added the following into configuration.yaml:

lifesmart:
  appkey: "your_appkey" 
  apptoken: "your_apptoken"
  usertoken: "your_usertoken" 
  userid: "your_userid"
  exclude:
    - "0011" #需屏蔽设备的me值,这个暂时为必填项,可以填任意内容
  exclude_agt:
    - "XXXX" #exlucde all devices in these smart stations
  ai_include_agt:
    - "XXXXXXXXX" # agt to be included for AI or Scene as a switch, fill any value to omit
  ai_include_me:
    - "xxxx" # me to be included for AI or Scene as a switch, fill any value to omit
  

[20220-07-12]

  1. Added async support
  2. Fix entity_id format
  3. Added unique_id property
  4. Added switch SL_NATURE, SL_SW_NS[1|2|3] support
  5. Added light SL_SPOT colour and brightness support
  6. Added light strip SL_CT_RGBW colour and brightness support
  7. Added light SL_LI_WW colour temperature and brightness support
  8. Fixed Door sensor SL_SC_BG open/closed status
  9. Changed server url to https://api.us.ilifesmart.com/
  10. Added excluded agt setting in configuration.yaml

Added the following into configuration.yaml:

lifesmart:
  appkey: "your_appkey" 
  apptoken: "your_apptoken"
  usertoken: "your_usertoken" 
  userid: "your_userid"
  exclude:
    - "0011" #需屏蔽设备的me值,这个暂时为必填项,可以填任意内容
  exclude_agt:
    - "XXXX" #exlucde all devices in these smart stations

更新说明

[2020年12月26日更新]

支持流光开关灯光控制

更新manifest内容以适配新版本home assistant

[2020年8月21日更新]

新增设备支持:

超能面板:SL_NATURE

PS:其实就是个开关...

[2020年2月4日更新]

优化实体ID生成逻辑:解决未加入或存在多个智慧中心时,me号可能存在重复的问题。

[2019年12月6日更新]

新增支持设备:

**空调面板:V_AIR_P

智能门锁反馈信息:SL_LK_LS、SL_LK_GTM、SL_LK_AG、SL_LK_SG、SL_LK_YL

目前支持的设备:

1、开关;

2、灯光:目前仅支持超级碗夜灯;

3、万能遥控;

4、窗帘电机(仅支持杜亚电机)

5、动态感应器、门磁、环境感应器、甲醛/燃气感应器

6、空调控制面板

7、智能门锁信息反馈

使用方法:

1、将lifesmart目录复制到config/custom_components/下

2、在configuration.yaml文件中增加配置:

lifesmart:
  appkey: "your_appkey" 
  apptoken: "your_apptoken"
  usertoken: "your_usertoken" 
  userid: "your_userid"
  exclude:
    - "0011" #需屏蔽设备的me值,这个暂时为必填项,可以填任意内容