Commit Graph

487 Commits

Author SHA1 Message Date
Fabian Affolter
15e7d05b11
Merge pull request #128306 from dotlambda/upcloud-api-init
home-assistant: support upcloud component
2021-06-27 16:04:06 +02:00
Robert Schütz
654ca52421 home-assistant: test synology_dsm component 2021-06-27 14:26:26 +02:00
Robert Schütz
59245deb14 home-assistant: test upcloud component 2021-06-27 13:49:02 +02:00
Robert Schütz
1d473cf593 home-assistant: test totalconnect component 2021-06-27 12:26:42 +02:00
Sandro
bc088d1ccc
Merge pull request #128196 from dotlambda/pytradfri-init 2021-06-26 22:15:01 +02:00
Fabian Affolter
88e37bb4fb
Merge pull request #128193 from dotlambda/upb-lib-init
home-assistant: support upb component
2021-06-26 17:28:18 +02:00
Robert Schütz
d886c446fe home-assistant: test tradfri component 2021-06-26 14:41:07 +02:00
Robert Schütz
2551e8ad82 home-assistant: test upb component 2021-06-26 14:13:50 +02:00
github-actions[bot]
45003ba5f9
Merge master into staging-next 2021-06-26 12:06:25 +00:00
Fabian Affolter
4d420f27eb
Merge pull request #128125 from dotlambda/vilfo-api-client-init
home-assistant: support vilfo component
2021-06-26 13:39:55 +02:00
Robert Schütz
cbdb097629 Merge branch 'master' into staging-next 2021-06-26 10:53:04 +02:00
Fabian Affolter
6925f053c4
Merge pull request #128132 from dotlambda/pykrakenapi-init
home-assistant: support kraken component
2021-06-26 10:46:52 +02:00
Fabian Affolter
ff5da29a3f
Merge pull request #128128 from dotlambda/pysiaalarm-init
home-assistant: support sia component
2021-06-26 09:58:48 +02:00
Robert Schütz
d6234c2165 Merge branch 'master' into staging-next 2021-06-26 00:33:58 +02:00
Robert Schütz
c57f05447e home-assistant: test syncthing component 2021-06-25 21:49:27 +02:00
Robert Schütz
0d6a426236 home-assistant: test kraken component 2021-06-25 20:55:09 +02:00
Robert Schütz
9cd99e192e home-assistant: test sia component 2021-06-25 20:42:32 +02:00
Robert Schütz
5451bd7d92 home-assistant: test vilfo component 2021-06-25 19:52:04 +02:00
Sandro
b03bf67f6f
Merge pull request #128099 from dotlambda/rflink-init 2021-06-25 19:14:18 +02:00
Sandro
9470f462d5
Merge pull request #127999 from dotlambda/ndms2-client-init 2021-06-25 18:47:32 +02:00
Robert Schütz
321d92cc06 home-assistant: test rflink component 2021-06-25 15:00:01 +02:00
Robert Schütz
c1dca92daf Merge branch 'master' into staging-next 2021-06-25 10:02:10 +02:00
Sandro
c6a049a3d3
Merge pull request #128024 from dotlambda/python-izone-init 2021-06-24 21:05:40 +02:00
Robert Schütz
6ba0fd8d5b home-assistant: test izone component 2021-06-24 18:17:48 +02:00
Robert Schütz
e66619bdf5 home-assistant: test konnected component 2021-06-24 13:10:29 +02:00
Robert Schütz
47763e0bc3 home-assistant: test keenetic_ndms2 component 2021-06-24 11:16:25 +02:00
github-actions[bot]
d437a6cac2
Merge master into staging-next 2021-06-24 00:06:27 +00:00
Martin Weinelt
aef37a5de2
Merge pull request #127934 from dotlambda/huisbaasje-client-init 2021-06-23 20:58:26 +02:00
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