mirror of
https://github.com/andvikt/mega_hacs.git
synced 2025-12-12 17:44:28 +05:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5fc4e1a31e | ||
|
|
cea3731336 | ||
|
|
5ffaf2d907 | ||
|
|
349f0183cb | ||
|
|
9ddca7c84f | ||
|
|
37b29c6369 |
@@ -1,5 +1,5 @@
|
|||||||
[bumpversion]
|
[bumpversion]
|
||||||
current_version = 1.1.8b7
|
current_version = 1.1.8b10
|
||||||
parse = (?P<major>\d+)(\.(?P<minor>\d+))(\.(?P<patch>\d+))(?P<release>[bf]*)(?P<build>\d*)
|
parse = (?P<major>\d+)(\.(?P<minor>\d+))(\.(?P<patch>\d+))(?P<release>[bf]*)(?P<build>\d*)
|
||||||
commit = True
|
commit = True
|
||||||
tag = True
|
tag = True
|
||||||
|
|||||||
@@ -502,9 +502,9 @@ class MegaD:
|
|||||||
__params = params.copy()
|
__params = params.copy()
|
||||||
__params["i2c_par"] = 9
|
__params["i2c_par"] = 9
|
||||||
# инициализация сенсора
|
# инициализация сенсора
|
||||||
await self.request(i2c_dev=i2c_dev, **__params)
|
await self.request(**__params)
|
||||||
await asyncio.sleep(0.1)
|
await asyncio.sleep(0.1)
|
||||||
self.sht31inited |= pt
|
self.sht31inited.add(pt)
|
||||||
delay = None
|
delay = None
|
||||||
idx: int = params.pop("idx", None)
|
idx: int = params.pop("idx", None)
|
||||||
pt: int = params.get("pt", None)
|
pt: int = params.get("pt", None)
|
||||||
|
|||||||
@@ -159,11 +159,6 @@ i2c_classes = {
|
|||||||
"opt3001": [
|
"opt3001": [
|
||||||
DeviceType(SensorDeviceClass.ILLUMINANCE, LIGHT_LUX, None),
|
DeviceType(SensorDeviceClass.ILLUMINANCE, LIGHT_LUX, None),
|
||||||
],
|
],
|
||||||
"scd4x": [
|
|
||||||
DeviceType(SensorDeviceClass.CO2, CONCENTRATION_PARTS_PER_MILLION, None),
|
|
||||||
DeviceType(SensorDeviceClass.HUMIDITY, PERCENTAGE, None),
|
|
||||||
DeviceType(SensorDeviceClass.TEMPERATURE, TEMP_CELSIUS, None),
|
|
||||||
],
|
|
||||||
"ina226": [
|
"ina226": [
|
||||||
Skip,
|
Skip,
|
||||||
DeviceType(SensorDeviceClass.CURRENT, "A", None),
|
DeviceType(SensorDeviceClass.CURRENT, "A", None),
|
||||||
|
|||||||
@@ -15,5 +15,5 @@
|
|||||||
"@andvikt"
|
"@andvikt"
|
||||||
],
|
],
|
||||||
"issue_tracker": "https://github.com/andvikt/mega_hacs/issues",
|
"issue_tracker": "https://github.com/andvikt/mega_hacs/issues",
|
||||||
"version": "v1.1.8b7"
|
"version": "v1.1.8b10"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user