Skip to content

Releases: CubicPill/china_southern_power_grid_stat

v1.2.0 更新登录方式

18 Sep 19:10
Compare
Choose a tag to compare

功能性更新:

  • 由于登录API调整,原账号密码登录方式已失效。目前支持手机号+短信验证码,手机号+密码+短信验证码和南网在线APP、微信、支付宝扫码登录。
  • 更改了初次加载集成或重载集成时的更新逻辑,初次更新数据不会再阻塞UI界面。
  • 更改了电费账户的移除逻辑,目前版本如需移除账号,可直接删除设备。

非功能性更新:

  • 增加了更多获取日电量的API,将会在之后版本使用。
  • 更新了账号登录态过期的处理逻辑。
  • 南网API库的细节更改。

作者现实生活较忙,不一定能及时回复issue,如有bug,欢迎在issue中反馈,看到后会依据紧急程度适时处理。

v1.1.2 bug修复

27 May 14:15
Compare
Choose a tag to compare

修复了部分用户更新1.1.1版本后所有实体不可用的bug.

因为各个地区用电日历接口不同,1.1.1版本新增的电费实体在某些地区可能不可用。请先在南网APP内确认用电日历可用后,再考虑反馈bug

v1.1.2-beta.2 bug fix

22 May 11:32
Compare
Choose a tag to compare
v1.1.2-beta.2 bug fix Pre-release
Pre-release
Signed-off-by: CubicPill <[email protected]>

v1.1.2-beta bug fix

20 May 17:38
Compare
Choose a tag to compare
v1.1.2-beta bug fix Pre-release
Pre-release
bug fix of merging by_day data and improve robustness

Signed-off-by: CubicPill <[email protected]>

v1.1.1 正式版 每日电费和阶梯电价实体

19 May 19:28
Compare
Choose a tag to compare

功能性更新:

  • 新数据接入:每日电费和当前阶梯电价信息。
  • 添加了6个新实体:最近日电费、当前阶梯、当前阶梯剩余电量、当前阶梯电价、本月累计电费、上月电费。
  • 移除了设置中的”请求超时“参数。

非功能性更新:

  • 使用asyncio重构数据更新部分,提升数据获取速度。
  • 本版本最低HA版本要求为2022.11,请注意升级。
  • bug修复和其他小更改。

v1.1.0 beta 每日电费和阶梯电价实体

11 May 20:12
Compare
Choose a tag to compare

功能性更新:

  • 新数据接入:每日电费和当前阶梯电价信息。
  • 添加了6个新实体:最近日电费、当前阶梯、当前阶梯剩余电量、当前阶梯电价、本月累计电费、上月电费。
  • 移除了设置中的”请求超时“参数。

非功能性更新:

  • 使用asyncio重构数据更新部分,提升数据获取速度。
  • 最低HA版本更改为2022.11,请注意升级。
  • bug修复和其他小更改。

v1.0.3 bug fix

13 Jan 21:33
Compare
Choose a tag to compare

Fixed a bug of calculating last month at the beginning of the year

v1.0.2 bug fixes

01 Dec 14:41
Compare
Choose a tag to compare

Bug fixes:

  • API calls to each endpoint is now independent in the coordinator update routine.

It was seen that at the beginning of each month the API call get_month_daily_usage_detail is likely to fail. Example return value:

{"sta": "02", "message": "查询深圳中台用户日电量返回:没有返回数据:null", "data": null}

This will cause the entire update to fail. #0071712 fixed this.

Version 1.0.1, first stable version

24 Nov 23:24
Compare
Choose a tag to compare

After several days of community testing, we have finally reached the first stable version! 🎉

Bug fixes:

  • Fixed "Unknown error occurred" while setting up the account for the first time (area code issue)
  • Fixed binding id not updating after refreshing the session

New features:

  • Added new sensor entity "latest day kwh", which contains the electricity consumption of the latest day, with the exact date in state attributes

First beta version

18 Nov 18:50
Compare
Choose a tag to compare
First beta version Pre-release
Pre-release

Hello, world!

Here's the first release of this integration (still in beta though).

Be aware that function definitions, entities and config flows are not stable yet, and they may change anytime without notice before the release of the first stable version. Please use it at your own discretion.