fix fw pattern

add dps368 support
fix docs url
This commit is contained in:
Andrey
2021-04-20 07:37:39 +03:00
parent e65598fe63
commit eaa46a99ae
3 changed files with 7 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ LUX = 'lux'
SINGLE_CLICK = 'single'
DOUBLE_CLICK = 'double'
PATT_FW = re.compile(r'fw:\s(.+)\)')
PATT_FW = re.compile(r'fw:\s(.+)\b')
REMOVE_CONFIG = [
'extenders',

View File

@@ -103,6 +103,10 @@ i2c_classes = {
DeviceType(DEVICE_CLASS_TEMPERATURE, TEMP_CELSIUS, None),
DeviceType(DEVICE_CLASS_HUMIDITY, PERCENTAGE, None)
],
'dps368': [
DeviceType(DEVICE_CLASS_PRESSURE, PRESSURE_BAR, None),
DeviceType(DEVICE_CLASS_TEMPERATURE, TEMP_CELSIUS, None),
],
'mlx90614': [
Skip,
DeviceType(DEVICE_CLASS_TEMPERATURE, TEMP_CELSIUS, 'temp'),

View File

@@ -2,7 +2,7 @@
"domain": "mega",
"name": "mega",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/mega_hacs",
"documentation": "https://github.com/andvikt/mega_hacs",
"requirements": [
"beautifulsoup4",
"lxml"
@@ -15,5 +15,5 @@
"@andvikt"
],
"issue_tracker": "https://github.com/andvikt/mega_hacs/issues",
"version": "v1.0.1"
"version": "v1.0.6b4"
}