mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 01:37:08 +00:00
added support for Fibaro FGR-222 (similar to FGRM-222) (#6890)
This commit is contained in:
parent
395f9b6548
commit
2413d97415
@ -15,6 +15,7 @@ PHILIO_PAN07 = 0x0005
|
|||||||
# Product Types
|
# Product Types
|
||||||
FGFS101_FLOOD_SENSOR_TYPE = 0x0b00
|
FGFS101_FLOOD_SENSOR_TYPE = 0x0b00
|
||||||
FGRM222_SHUTTER2 = 0x0301
|
FGRM222_SHUTTER2 = 0x0301
|
||||||
|
FGR222_SHUTTER2 = 0x0302
|
||||||
PHILIO_SWITCH = 0x0001
|
PHILIO_SWITCH = 0x0001
|
||||||
PHILIO_SENSOR = 0x0002
|
PHILIO_SENSOR = 0x0002
|
||||||
SOMFY_ZRTSI = 0x5a52
|
SOMFY_ZRTSI = 0x5a52
|
||||||
@ -54,12 +55,15 @@ FIBARO_FGFS101_SENSOR_ALARM = (
|
|||||||
FIBARO, FGFS101_FLOOD_SENSOR_TYPE, const.COMMAND_CLASS_SENSOR_ALARM)
|
FIBARO, FGFS101_FLOOD_SENSOR_TYPE, const.COMMAND_CLASS_SENSOR_ALARM)
|
||||||
FIBARO_FGRM222_BINARY = (
|
FIBARO_FGRM222_BINARY = (
|
||||||
FIBARO, FGRM222_SHUTTER2, const.COMMAND_CLASS_SWITCH_BINARY)
|
FIBARO, FGRM222_SHUTTER2, const.COMMAND_CLASS_SWITCH_BINARY)
|
||||||
|
FIBARO_FGR222_BINARY = (
|
||||||
|
FIBARO, FGR222_SHUTTER2, const.COMMAND_CLASS_SWITCH_BINARY)
|
||||||
|
|
||||||
# List of component workarounds by
|
# List of component workarounds by
|
||||||
# (manufacturer_id, product_type, command_class)
|
# (manufacturer_id, product_type, command_class)
|
||||||
DEVICE_COMPONENT_MAPPING = {
|
DEVICE_COMPONENT_MAPPING = {
|
||||||
FIBARO_FGFS101_SENSOR_ALARM: 'binary_sensor',
|
FIBARO_FGFS101_SENSOR_ALARM: 'binary_sensor',
|
||||||
FIBARO_FGRM222_BINARY: WORKAROUND_IGNORE,
|
FIBARO_FGRM222_BINARY: WORKAROUND_IGNORE,
|
||||||
|
FIBARO_FGR222_BINARY: WORKAROUND_IGNORE,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user