Skip to content
This repository has been archived by the owner on Jul 23, 2021. It is now read-only.

Pytest raising errors #252

Open
robmarkcole opened this issue May 18, 2021 · 1 comment
Open

Pytest raising errors #252

robmarkcole opened this issue May 18, 2021 · 1 comment

Comments

@robmarkcole
Copy link
Owner

robmarkcole commented May 18, 2021

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
Copy link
Owner Author

still failing, disable action

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant