diff --git a/homeassistant/components/isy994.py b/homeassistant/components/isy994.py index 04437d7055c..fbdf6e48143 100644 --- a/homeassistant/components/isy994.py +++ b/homeassistant/components/isy994.py @@ -83,9 +83,9 @@ NODE_FILTERS = { }, 'fan': { 'uom': [], - 'states': ['on', 'off', 'low', 'medium', 'high'], + 'states': ['off', 'low', 'medium', 'high'], 'node_def_id': ['FanLincMotor'], - 'insteon_type': ['1.46.'] + 'insteon_type': [] }, 'cover': { 'uom': ['97'], @@ -99,7 +99,7 @@ NODE_FILTERS = { 'node_def_id': ['DimmerLampSwitch', 'DimmerLampSwitch_ADV', 'DimmerSwitchOnly', 'DimmerSwitchOnly_ADV', 'DimmerLampOnly', 'BallastRelayLampSwitch', - 'BallastRelayLampSwitch_ADV', 'RelayLampSwitch', + 'BallastRelayLampSwitch_ADV', 'RemoteLinc2', 'RemoteLinc2_ADV'], 'insteon_type': ['1.'] }, @@ -433,7 +433,10 @@ class ISYDevice(Entity): def unique_id(self) -> str: """Get the unique identifier of the device.""" # pylint: disable=protected-access - return self._node._id + if hasattr(self._node, '_id'): + return self._node._id + + return None @property def name(self) -> str: