1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 09:02:46 +00:00
Commit graph

509 commits

Author SHA1 Message Date
Martin Weinelt 997977a64e
Merge pull request #127938 from dotlambda/pyisy-init 2021-06-23 20:35:03 +02:00
Martin Weinelt efe9d1e270
Merge pull request #127937 from dotlambda/home-assistant-test-ign_sismologia
home-assistant: test ign_sismologia component
2021-06-23 20:34:49 +02:00
Robert Schütz 4cd0927ea6 home-assistant: test hvv_departures component 2021-06-23 20:16:42 +02:00
github-actions[bot] b68a0d2f5e
Merge master into staging-next 2021-06-23 18:04:30 +00:00
Robert Schütz 2b38c5eac2 home-assistant: test isy994 component 2021-06-23 19:42:14 +02:00
Robert Schütz 3cac86ca3c home-assistant: test ign_sismologia component 2021-06-23 19:14:37 +02:00
Robert Schütz 6a50f94d23 home-assistant: test huisbaasje component 2021-06-23 18:53:38 +02:00
Martin Weinelt 75bd996363
Merge pull request #127923 from dotlambda/huawei-lte-api-init 2021-06-23 17:31:11 +02:00
Martin Weinelt 9145f0382d
Merge pull request #127921 from dotlambda/somecomfort-init 2021-06-23 17:29:56 +02:00
Martin Weinelt 78fcfc560f
Merge pull request #127915 from dotlambda/hlk-sw16-init 2021-06-23 17:05:03 +02:00
Robert Schütz 20560b05d8 home-assistant: test huawei_lte component 2021-06-23 16:55:05 +02:00
Robert Schütz 253562b6bd home-assistant: test honeywell component 2021-06-23 16:44:24 +02:00
Robert Schütz 18afd8c4c6 home-assistant: test hlk_sw16 component 2021-06-23 16:32:54 +02:00
Robert Schütz 82f57c5828 home-assistant: test hisense_aehw4a1 component 2021-06-23 15:13:37 +02:00
Jonathan Ringer 32e7183410
Merge pull request #127419 from NixOS/python-unstable
Python package set minor updates
2021-06-22 14:49:00 -07:00
Martin Weinelt f9d11b3f58 home-assistant: disable tesla component test
The tesla component test, via its authcaptureproxy dependency, depends
on typer, which in its current version is incompatible with click>=8.0.
2021-06-22 13:42:55 +02:00
Martin Weinelt 86494638b8 home-assistant: pin aiopvpc, pyatmo, pyatv, pysma 2021-06-22 13:42:54 +02:00
Martin Weinelt 12e016b5c4 home-assistant: 2021.6.5 -> 2021.6.6 2021-06-22 03:28:11 +02:00
Martin Weinelt 71e8cc09d1
home-assistant: disable adbode/test_camera.py::test_camera_off test
```
___________________________ test_camera_off[pyloop] ____________________________
[gw5] linux -- Python 3.8.9 /nix/store/4s0h5aawbap3xhldxhcijvl26751qrjr-python3-3.8.9/bin/python3.8

hass = <homeassistant.core.HomeAssistant object at 0x7fff4433b580>

    async def test_camera_off(hass):
        """Test the camera turn off service."""
        await setup_platform(hass, CAMERA_DOMAIN)

        with patch("abodepy.AbodeCamera.privacy_mode") as mock_capture:
>           await hass.services.async_call(
                CAMERA_DOMAIN,
                "turn_off",
                {ATTR_ENTITY_ID: "camera.test_cam"},
                blocking=True,
            )

hass       = <homeassistant.core.HomeAssistant object at 0x7fff4433b580>
mock_capture = <MagicMock name='privacy_mode' id='140734337787888'>

tests/components/abode/test_camera.py:64:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <homeassistant.core.ServiceRegistry object at 0x7fff442c1cd0>
domain = 'camera', service = 'turn_off'
service_data = {'entity_id': 'camera.test_cam'}, blocking = True
context = Context(user_id=None, parent_id=None, id='20e520e6917f171d80558dcc4b10b219')
limit = 10, target = None

    async def async_call(
        self,
        domain: str,
        service: str,
        service_data: dict | None = None,
        blocking: bool = False,
        context: Context | None = None,
        limit: float | None = SERVICE_CALL_LIMIT,
        target: dict | None = None,
    ) -> bool | None:
        """
        Call a service.

        Specify blocking=True to wait until service is executed.
        Waits a maximum of limit, which may be None for no timeout.

        If blocking = True, will return boolean if service executed
        successfully within limit.

        This method will fire an event to indicate the service has been called.

        Because the service is sent as an event you are not allowed to use
        the keys ATTR_DOMAIN and ATTR_SERVICE in your service_data.

        This method is a coroutine.
        """
        domain = domain.lower()
        service = service.lower()
        context = context or Context()
        service_data = service_data or {}

        try:
            handler = self._services[domain][service]
        except KeyError:
>           raise ServiceNotFound(domain, service) from None
E           homeassistant.exceptions.ServiceNotFound: Unable to find service camera.turn_off

blocking   = True
context    = Context(user_id=None, parent_id=None, id='20e520e6917f171d80558dcc4b10b219')
domain     = 'camera'
limit      = 10
self       = <homeassistant.core.ServiceRegistry object at 0x7fff442c1cd0>
service    = 'turn_off'
service_data = {'entity_id': 'camera.test_cam'}
target     = None

homeassistant/core.py:1438: ServiceNotFound
---------------------------- Captured stderr setup -----------------------------
DEBUG:asyncio:Using selector: EpollSelector
------------------------------ Captured log setup ------------------------------
DEBUG    asyncio:selector_events.py:59 Using selector: EpollSelector
----------------------------- Captured stderr call -----------------------------
INFO:homeassistant.loader:Loaded abode from homeassistant.components.abode
INFO:homeassistant.setup:Setting up abode
INFO:homeassistant.setup:Setup of domain abode took 0.0 seconds
DEBUG:abodepy:Cache found at: /build/source/tests/testing_config/abodepy_cache.pickle
WARNING:abodepy.utils:Empty pickle file: /build/source/tests/testing_config/abodepy_cache.pickle
DEBUG:abodepy:Removing invalid cache file: /build/source/tests/testing_config/abodepy_cache.pickle
ERROR:homeassistant.config_entries:Error setting up entry Mock Title for abode
Traceback (most recent call last):
  File "/build/source/homeassistant/config_entries.py", line 293, in async_setup
    result = await component.async_setup_entry(hass, self)  # type: ignore
  File "/build/source/homeassistant/components/abode/__init__.py", line 125, in async_setup_entry
    abode = await hass.async_add_executor_job(
  File "/nix/store/4s0h5aawbap3xhldxhcijvl26751qrjr-python3-3.8.9/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/nix/store/6s0sdvk0crvcfyv7w33yc7w4bkzl0y1w-python3.8-abodepy-1.2.1/lib/python3.8/site-packages/abodepy/__init__.py", line 85, in __init__
    self._load_cache()
  File "/nix/store/6s0sdvk0crvcfyv7w33yc7w4bkzl0y1w-python3.8-abodepy-1.2.1/lib/python3.8/site-packages/abodepy/__init__.py", line 497, in _load_cache
    os.remove(self._cache_path)
FileNotFoundError: [Errno 2] No such file or directory: '/build/source/tests/testing_config/abodepy_cache.pickle'
DEBUG:homeassistant.core:Bus:Handling <Event component_loaded[L]:
component=abode>
```
2021-06-20 20:11:45 +02:00
Robert Schütz b86c53ddc4 home-assistant: test here_travel_time component 2021-06-20 18:22:04 +02:00
Martin Weinelt 05657665d5
Merge pull request #127543 from fabaff/pymill 2021-06-20 12:47:09 +02:00
Fabian Affolter 0dc2567bee home-assistant: enable mill tests 2021-06-20 11:46:35 +02:00
Fabian Affolter 5988bc29b3 home-assistant: enable ipma tests 2021-06-20 11:33:01 +02:00
Robert Schütz 6498fb43a6 home-assistant: test hive component 2021-06-19 18:18:57 +02:00
Robert Schütz 71de28cfa8 home-assistant: test heos component 2021-06-19 17:34:52 +02:00
Robert Schütz 6db5450068 home-assistant: test hangouts component 2021-06-19 13:35:01 +02:00
Robert Schütz d8e175011a home-assistant: test habitica component 2021-06-19 11:46:33 +02:00
Robert Schütz 3b35637fdc home-assistant: test emulated_roku component 2021-06-18 23:47:19 +02:00
Sandro 1598bfdb4b
Merge pull request #127374 from dotlambda/enocean-init 2021-06-18 20:20:03 +02:00
Sandro 0da0d6a494
Merge pull request #127361 from dotlambda/pmsensor-init 2021-06-18 20:01:58 +02:00
Sandro e7f3952762
Merge pull request #127358 from dotlambda/epson-projector-init 2021-06-18 20:01:29 +02:00
Robert Schütz afbade0186 home-assistant: test enocean component 2021-06-18 18:08:30 +02:00
Robert Schütz 0dd87d9024 home-assistant: test mhz19 component 2021-06-18 16:13:42 +02:00
Robert Schütz e60c5875ed home-assistant: test epson component 2021-06-18 16:03:41 +02:00
Robert Schütz 67ac6fd066 home-assistant: test emulated_kasa and sense components 2021-06-18 15:41:07 +02:00
Sandro 108e2f26a6
Merge pull request #126047 from fabaff/elgato 2021-06-18 11:55:10 +02:00
Sandro b9c72ca4af
Merge pull request #127205 from dotlambda/doorbirdpy-init 2021-06-18 10:24:35 +02:00
Robert Schütz be2b5534e2 home-assistant: support ee_brightbox component 2021-06-18 02:41:43 +02:00
Martin Weinelt 34d8d085ca
Merge pull request #127271 from dotlambda/python-ecobee-api-init 2021-06-18 02:16:09 +02:00
Martin Weinelt 6de87929ca
Merge pull request #127250 from dotlambda/pdunehd-init 2021-06-18 01:35:23 +02:00
Robert Schütz 7865fdd5d1 home-assistant: test ecobee component 2021-06-18 00:24:32 +02:00
Robert Schütz 0a57f14b31 home-assistant: test dunehd component 2021-06-17 20:14:21 +02:00
Fabian Affolter b8c049eee6 home-assistant: enable elgato tests 2021-06-17 19:57:43 +02:00
Fabian Affolter b26545db7e
Merge pull request #127201 from dotlambda/directv-init
python3Packages.directv: init at 0.4.0
2021-06-17 19:12:18 +02:00
Robert Schütz 77afaab445 home-assistant: test doorbird component 2021-06-17 17:15:42 +02:00
Martin Weinelt fbd8a57b52
Merge pull request #127182 from mweinelt/python39-things 2021-06-17 14:37:29 +02:00
Robert Schütz cbb342facf home-assistant: test directv component 2021-06-17 12:56:53 +02:00
Fabian Affolter 5d32ee50b5
Merge pull request #126968 from dotlambda/aioazuredevops-init
python3Packages.aioazuredevops: init at 1.3.5
2021-06-17 09:08:25 +02:00
Martin Weinelt a45931787c
home-assistant: unpin sqlalchemy 2021-06-17 06:27:07 +02:00
Martin Weinelt b362f002ca
home-assistant: disable test_hue_events test
It is prone to race conditions.
2021-06-17 06:19:49 +02:00
Martin Weinelt 039fc8c62b
Merge pull request #127091 from dotlambda/home-assistant-availableComponents-passthru
home-assistant: move availableComponents to passthru
2021-06-16 21:19:10 +02:00
Robert Schütz fd51d5a8ab home-assistant: test coolmaster component 2021-06-16 16:20:31 +02:00
Sandro 0082e65f4f
Merge pull request #126965 from dotlambda/arcam-fmj-init 2021-06-16 15:39:24 +02:00
Martin Weinelt 9a543d90c6
Merge pull request #127088 from dotlambda/pycontrol4-init 2021-06-16 15:31:19 +02:00
Martin Weinelt 91a7ca2c3c
Merge pull request #126983 from dotlambda/bimmer-connected-init 2021-06-16 15:31:02 +02:00
Martin Weinelt e694e36873
Merge pull request #126941 from dotlambda/goalzero-init 2021-06-16 15:30:23 +02:00
Martin Weinelt 1dcef0ba7f
Merge pull request #126935 from dotlambda/libpyfoscam-init 2021-06-16 15:29:52 +02:00
Robert Schütz fcb6e881c2 home-assistant: move availableComponents to passthru 2021-06-16 15:19:04 +02:00
Robert Schütz 5f3f57281c home-assistant: test control4 component 2021-06-16 15:00:06 +02:00
Robert Schütz 030c21580b home-assistant: test color_extractor component 2021-06-16 14:24:33 +02:00
Martin Weinelt 2a00e3b7f3
Merge pull request #126984 from mweinelt/home-assistant 2021-06-16 13:28:10 +02:00
Robert Schütz 55f04f4142 home-assistant: test arcam_fmj component 2021-06-16 10:41:37 +02:00
Robert Schütz 3d89dacd12 home-assistant: test foscam component 2021-06-16 10:15:25 +02:00
Robert Schütz 852ace9644 home-assistant: test goalzero component 2021-06-16 10:14:11 +02:00
Robert Schütz 96d4da26fb home-assistant: test azure_devops component 2021-06-16 10:12:35 +02:00
Robert Schütz ad94d74c97 home-assistant: test bmw_connected_drive component 2021-06-16 10:10:53 +02:00
Robert Schütz e49a3615a9 home-assistant: test blink component 2021-06-16 10:08:23 +02:00
Sandro 56e1dac7c8
Merge pull request #126975 from dotlambda/blebox-uniapi-init 2021-06-16 04:12:11 +02:00
Robert Schütz 3ec6a1059a home-assistant: test bond component 2021-06-15 18:13:00 -07:00
Sandro fda3bb6c21
Merge pull request #126972 from dotlambda/azure-eventhub-init 2021-06-16 03:10:01 +02:00
Martin Weinelt 3b1494252c
home-assistant: drop tzdata workaround
The backports-zoneinfo package was fixed by patching in the reference to
the tzdata files, this means we don't have to export PYTHONTZPATH
anymore.
2021-06-16 00:27:20 +02:00
Martin Weinelt 4e1932f574
home-assistant: 2021.6.4 -> 2021.6.5 2021-06-16 00:27:19 +02:00
Martin Weinelt 0e13e11398
home-assistant: fix home-assistant-frontend update
An incomplete rename of attributes caused a mismatch in expectations
between the update script and what the home-assistant package exposed.
2021-06-16 00:27:19 +02:00
Martin Weinelt 8f2432d855
home-assistant: pin iaqualink at 0.3.90 2021-06-16 00:27:19 +02:00
Robert Schütz 78a62d3e93 home-assistant: test blebox component 2021-06-15 19:44:00 +02:00
Robert Schütz b3a337757a
Merge pull request #126895 from mweinelt/home-assistant
RFC: nixos/home-assistant: NixOS is an unsupported installation method
2021-06-15 18:55:09 +02:00
Robert Schütz cf6659dab6 home-assistant: test azure_event_hub component 2021-06-15 18:48:47 +02:00
Martin Weinelt 0ba779b869
home-assistant: evaluate outdated dependencies based on our package set
Home Assistant overwrites a bunch of dependencies resulting in an
overridden python package set. Expose that via passthru as
`home-assistant.python.pkgs` and use that in parse-requirements.py,
so we take overridden versions into consideration.
2021-06-15 18:26:53 +02:00
Fabian Affolter 189a136887
Merge pull request #126947 from dotlambda/pytibber-init
python3Packages.tibber: init at 0.17.1
2021-06-15 17:58:51 +02:00
Fabian Affolter 0e98d7acab
Merge pull request #126931 from dotlambda/foobot-async-init
python3Packages.foobot-async: init at 1.0.0
2021-06-15 17:05:48 +02:00
Fabian Affolter 542a1a9782
Merge pull request #126927 from dotlambda/pyflick-init
python3Packages.pyflick: init at 0.0.2
2021-06-15 16:20:25 +02:00
Fabian Affolter c8bdd6aefd
Merge pull request #126943 from dotlambda/greeclimate-init
python3Packages.greeclimate: init at 0.11.8
2021-06-15 15:29:21 +02:00
Robert Schütz e346b30e8b
Merge pull request #126896 from dotlambda/wallbox-init
python3Packages.wallbox: init at 0.4.5
2021-06-15 15:12:14 +02:00
Robert Schütz 0f02d4077b home-assistant: test tibber component 2021-06-15 15:08:24 +02:00
Robert Schütz bbb92f6dd9 home-assistant: test gree component 2021-06-15 14:19:23 +02:00
Martin Weinelt ac0e2f63d0
home-assistant: enable wallbox tests
Disable two tests that try to access the network.
2021-06-15 14:13:02 +02:00
Robert Schütz b9ff2b61c1 home-assistant: test more components 2021-06-15 13:37:53 +02:00
Robert Schütz 7127fa6179 home-assistant: test flick_electric component 2021-06-15 13:28:55 +02:00
Sandro 48cc7f1d1c
Merge pull request #126926 from dotlambda/pyfireservicerota-init 2021-06-15 13:09:14 +02:00
Robert Schütz 90e0a7b04e home-assistant: test foobot component 2021-06-15 13:05:43 +02:00
Robert Schütz 4ba8b0b981 home-assistant: test fireservicerota component 2021-06-15 12:20:51 +02:00
Sandro 4cdf6dfbd8
Merge pull request #126067 from fabaff/garminconnect-aio 2021-06-15 03:29:48 +02:00
Sandro f052ef14e7
Merge pull request #125497 from fabaff/nettigo-air-monitor 2021-06-15 02:58:04 +02:00
Sandro 39adc3ab9e
Merge pull request #125490 from fabaff/pykulersky 2021-06-15 02:40:25 +02:00
Robert Schütz 73e98d5c40 home-assistant: test xbox component 2021-06-14 15:39:53 -07:00
Fabian Affolter 2680c5c780 home-assistant: enable geo* tests 2021-06-14 12:20:28 +02:00
Fabian Affolter 6831fd3fc5
Merge pull request #126796 from dotlambda/aemet-opendata-init
python3Packages.aemet-opendata: init at 0.2.1
2021-06-14 12:09:02 +02:00
Fabian Affolter 80babde84e
Merge pull request #126781 from dotlambda/buienradar-init
python3Packages.buienradar: init at 1.0.4
2021-06-14 11:06:05 +02:00
Fabian Affolter 557060a776
Merge pull request #126792 from dotlambda/spiderpy-init
python3Packages.spiderpy: init at 1.5.0
2021-06-14 09:49:57 +02:00
Robert Schütz c6256758ae home-assistant: test atag component 2021-06-13 23:05:46 -07:00