tiger
tiger
文件读取问题
目前在拜读源码的时候,从文件加载缓存的过程是通过openMP进行并行加速的,这样的话,如果是多节点运行,那每个节点在加载缓存阶段应该都会完整的读取一份数据,这样就会超出预估的内存使用上限了吧。
具体表现为: 1.一号账户为默认设置账户,原本的注册平台为空。 2.开始GitHub第三方登录,注销登录并从GitHub登录后,一号账户注册平台变成GitHub,同时原本账户名登录方式提示账户不存在。
1. add optional parameter for *SPEC_PROP_TRANS_MAP*, in order to add default state_class and unit: ```python { 'entities':{ '':{ 'format': set, 'access': set } }, 'properties': { '':{ 'device_class': str, 'entity':...
### Describe the bug / 描述问题 电量统计类设备缺少属性 ### To Reproduce / 复现步骤 电量燃气等统计类设备属性要求参考 HA官方[troubleshooting-missing-entities](https://www.home-assistant.io/docs/energy/faq/#troubleshooting-missing-entities) - 1.任意包含电功率统计的设备,状态关键字为electric_power,比如零火开关,智能插座,第三方智能电闸,只有三个数据:"unit_of_measurement","icon","friendly_name",无法被能源模块识别为有效实体。缺少“state_class”,“device_class”。 ``` 现有参数: unit_of_measurement: W icon: mdi:flash-triangle friendly_name: *********** 需要额外的以下参数: state_class: measurement device_class: power ```...
### Describe the bug / 描述问题 存在两个power_consumption参数,且内容不一致。 ### To Reproduce / 复现步骤  如图,翻阅spec得知,一个功率参数为[power-consumption](https://miot-spec.org/miot-spec-v2/spec/service?type=urn:miot-spec-v2:service:power-consumption:0000780E)服务中的[electric-power](https://miot-spec.org/miot-spec-v2/spec/property?type=urn:miot-spec-v2:property:electric-power:00000066),且统计参数被放大了100倍。  一个功率参数为[user-electric-power](https://miot-spec.org/miot-spec-v2/spec/service?type=urn:zimi-spec:service:user-electric-power:00007806)中的[electric-power](https://miot-spec.org/miot-spec-v2/spec/property?type=urn:zimi-spec:property:electric-power:00000001),且显示值不主动更新。  ### Expected behavior / 预期结果 期望跟米家中显示一致。 ### Home Assistant Logs / 系统日志 _No...