Skip to content

dingzhenying/state-grid

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

国家电网

集成国家电网每日用电等数据,支持多户号,阶梯用电。

安装/更新

方法 1: 通过SambaSFTP手动安装

下载并复制custom_components/state_gird文件夹到 Home Assistant 根目录下的custom_components文件夹

方法 2: 通过SSHTerminal & SSH加载项执行一键安装命令

curl -fsSL get.hassbox.cn/state_grid | bash

方法 3: 通过shell_command服务

  1. 复制下面的代码到 Home Assistant 配置文件configuration.yaml

    shell_command:
      install_state_grid: |-
        curl -fsSL get.hassbox.cn/state_grid | bash
  2. 重启 Home Assistant

  3. 在 Home Assistant 开发者工具中调用此服务service: shell_command.install_state_grid

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.8%
  • Shell 3.2%