Hue-sensors-HASS icon indicating copy to clipboard operation
Hue-sensors-HASS copied to clipboard

Pytest raising errors

Open robmarkcole opened this issue 3 years ago • 1 comments

https://github.com/robmarkcole/Hue-sensors-HASS/runs/2606022231?check_suite_focus=true

    def add_sensor_data_to_bridge(bridge, sensor_key, raw_data):
        """Append a sensor raw data packed to the mocked bridge."""
>       bridge.sensors[sensor_key] = GenericSensor(
            raw_data["uniqueid"], deepcopy(raw_data), None
        )
E       TypeError: __init__() missing 1 required positional argument: 'request'

This is being raised by GenericSensor from aiohue.sensors. This dependency is floating aiohue>=2.0.0. Breaking change in latest release https://github.com/home-assistant-libs/aiohue/releases/tag/2.5.0 ?

robmarkcole avatar May 18 '21 04:05 robmarkcole

still failing, disable action

robmarkcole avatar May 19 '21 03:05 robmarkcole