mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2025-04-02 15:55:30 +08:00
docs: update changelog and version to v0.1.5b0 (#563)
* style: code format * docs: update changelog and version to v0.1.5b0 * docs: update changelog
This commit is contained in:
parent
50be2c5df9
commit
d65fe32a98
10
CHANGELOG.md
10
CHANGELOG.md
@ -1,5 +1,15 @@
|
|||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## v0.1.5b0
|
||||||
|
### Added
|
||||||
|
- Add missing parameter state_class [#101](https://github.com/XiaoMi/ha_xiaomi_home/pull/101)
|
||||||
|
### Changed
|
||||||
|
- Make git update guide more accurate [#561](https://github.com/XiaoMi/ha_xiaomi_home/pull/561)
|
||||||
|
### Fixed
|
||||||
|
- Limit *light.mode count (value-range) [#535](https://github.com/XiaoMi/ha_xiaomi_home/pull/535)
|
||||||
|
- Update miot cloud raise error msg [#551](https://github.com/XiaoMi/ha_xiaomi_home/pull/551)
|
||||||
|
- Fix table header misplacement [#554](https://github.com/XiaoMi/ha_xiaomi_home/pull/554)
|
||||||
|
|
||||||
## v0.1.4
|
## v0.1.4
|
||||||
### Added
|
### Added
|
||||||
- Refactor miot network, add network detection logic, improve devices filter logic. [458](https://github.com/XiaoMi/ha_xiaomi_home/pull/458) [#191](https://github.com/XiaoMi/ha_xiaomi_home/pull/191)
|
- Refactor miot network, add network detection logic, improve devices filter logic. [458](https://github.com/XiaoMi/ha_xiaomi_home/pull/458) [#191](https://github.com/XiaoMi/ha_xiaomi_home/pull/191)
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
"cryptography",
|
"cryptography",
|
||||||
"psutil"
|
"psutil"
|
||||||
],
|
],
|
||||||
"version": "v0.1.4",
|
"version": "v0.1.5b0",
|
||||||
"zeroconf": [
|
"zeroconf": [
|
||||||
"_miot-central._tcp.local."
|
"_miot-central._tcp.local."
|
||||||
]
|
]
|
||||||
|
@ -407,38 +407,38 @@ SPEC_PROP_TRANS_MAP: dict[str, dict | str] = {
|
|||||||
'device_class': SensorDeviceClass.DURATION,
|
'device_class': SensorDeviceClass.DURATION,
|
||||||
'entity': 'sensor'
|
'entity': 'sensor'
|
||||||
},
|
},
|
||||||
'electric-power': {
|
'electric-power': {
|
||||||
'device_class': SensorDeviceClass.POWER,
|
'device_class': SensorDeviceClass.POWER,
|
||||||
'entity': 'sensor',
|
'entity': 'sensor',
|
||||||
'optional': {
|
'optional': {
|
||||||
'state_class': SensorStateClass.MEASUREMENT,
|
'state_class': SensorStateClass.MEASUREMENT,
|
||||||
'unit_of_measurement': UnitOfPower.WATT
|
'unit_of_measurement': UnitOfPower.WATT
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'electric-current': {
|
'electric-current': {
|
||||||
'device_class': SensorDeviceClass.CURRENT,
|
'device_class': SensorDeviceClass.CURRENT,
|
||||||
'entity': 'sensor',
|
'entity': 'sensor',
|
||||||
'optional': {
|
'optional': {
|
||||||
'state_class': SensorStateClass.MEASUREMENT,
|
'state_class': SensorStateClass.MEASUREMENT,
|
||||||
'unit_of_measurement': UnitOfElectricCurrent.AMPERE
|
'unit_of_measurement': UnitOfElectricCurrent.AMPERE
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'power-consumption': {
|
'power-consumption': {
|
||||||
'device_class': SensorDeviceClass.ENERGY,
|
'device_class': SensorDeviceClass.ENERGY,
|
||||||
'entity': 'sensor',
|
'entity': 'sensor',
|
||||||
'optional': {
|
'optional': {
|
||||||
'state_class': SensorStateClass.TOTAL_INCREASING,
|
'state_class': SensorStateClass.TOTAL_INCREASING,
|
||||||
'unit_of_measurement': UnitOfEnergy.KILO_WATT_HOUR
|
'unit_of_measurement': UnitOfEnergy.KILO_WATT_HOUR
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'total-battery': {
|
'total-battery': {
|
||||||
'device_class': SensorDeviceClass.ENERGY,
|
'device_class': SensorDeviceClass.ENERGY,
|
||||||
'entity': 'sensor',
|
'entity': 'sensor',
|
||||||
'optional': {
|
'optional': {
|
||||||
'state_class': SensorStateClass.TOTAL_INCREASING,
|
'state_class': SensorStateClass.TOTAL_INCREASING,
|
||||||
'unit_of_measurement': UnitOfEnergy.KILO_WATT_HOUR
|
'unit_of_measurement': UnitOfEnergy.KILO_WATT_HOUR
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'has-someone-duration': 'no-one-determine-time',
|
'has-someone-duration': 'no-one-determine-time',
|
||||||
'no-one-duration': 'no-one-determine-time'
|
'no-one-duration': 'no-one-determine-time'
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user