Skip to content

v1.4.0

Choose a tag to compare

@pallemannen pallemannen released this 19 Aug 03:40
· 11 commits to main since this release
2af8d5f

Added

  • sensor.xfinity_gateway_mode, reporting Bridge or Router, reusing the same Bridge Message detection text ("in bridge mode") already used by binary_sensor.xfinity_gateway_bridge_mode. Icon switches between mdi:bridge and mdi:router depending on state.

Fixed

  • binary_sensor.xfinity_gateway_connectivity and binary_sensor.xfinity_gateway_lan_connection never actually reported device_class: connectivity. Both classes set _attr_device_class as a class attribute, but MultiscrapeEntity.__init__ unconditionally does self._attr_device_class = device_class from its own constructor parameter — which both classes called with None. That instance assignment ran after the class body, silently overwriting the class attribute back to None on every setup, so the entities always reported device_class: null regardless of source, on every version since v1.3.1. Fixed by passing the device class through the constructor instead.