Commit Graph

14794 Commits

Author SHA1 Message Date
Martin Weinelt
23c5d04f56
Merge pull request #127588 from mweinelt/home-assistant
home-assistant: disable adbode/test_camera.py::test_camera_off test
2021-06-20 22:08:26 +02:00
Sandro
67745e9cb0
Merge pull request #127534 from fabaff/pysml 2021-06-20 22:02:40 +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
Maximilian Bosch
aa5c48152a
Merge pull request #127486 from petabyteboy/feature/fix-mautrix
use sqlalchemy 1.3.x for mautrix-telegram
2021-06-20 19:16:52 +02:00
Martin Weinelt
88782d1606
Merge pull request #127580 from dotlambda/herepy-init 2021-06-20 18:54:54 +02:00
Sandro
2c1be9e8d9
Merge pull request #127559 from fabaff/ecoaliface 2021-06-20 18:39:19 +02:00
Sandro
98ab358556
Merge pull request #127555 from fabaff/pypca 2021-06-20 18:29:26 +02:00
Sandro
6027be1ba2
Merge pull request #127551 from fabaff/aladdin-connect 2021-06-20 18:28:13 +02:00
Robert Schütz
b86c53ddc4 home-assistant: test here_travel_time component 2021-06-20 18:22:04 +02:00
Sandro
94a1806bc9
Merge pull request #127539 from fabaff/enturclient 2021-06-20 18:18:47 +02:00
Robert Schütz
00bc61110b home-assistant: update component-packages.nix 2021-06-20 18:10:22 +02:00
Mario Rodas
2950b68d14
Merge pull request #127544 from r-ryantm/auto-update/jackett
jackett: 0.18.345 -> 0.18.364
2021-06-20 10:26:38 -05:00
Pavol Rusnak
68889ed61f
treewide: use quotes for url 2021-06-20 16:26:23 +02:00
Fabian Affolter
d01388bf40 home-assistant: update component-packages 2021-06-20 14:40:48 +02:00
Fabian Affolter
03d0c01065 home-assistant: update component-packages 2021-06-20 13:59:03 +02:00
Fabian Affolter
4445a89c05 home-assistant: update component-packages 2021-06-20 13:37:03 +02:00
Martin Weinelt
05657665d5
Merge pull request #127543 from fabaff/pymill 2021-06-20 12:47:09 +02:00
Martin Weinelt
c5a97e6662
Merge pull request #127541 from fabaff/pyipma 2021-06-20 12:46:26 +02:00
illustris
aea0f9ce1f jicofo: 1.0-690 -> 1.0-756 2021-06-20 12:36:51 +02:00
illustris
d0d7946c03 jitsi-videobridge: 2.1-416 -> 2.1-508 2021-06-20 12:36:51 +02:00
illustris
a415ec434f jitsi-meet: stable/jitsi-meet_5390 -> stable/jitsi-meet_5963 2021-06-20 12:36:51 +02:00
Michele Guerini Rocco
57d4300e33
Merge pull request #126756 from Atemu/fix/xorg-bigelow-holmes-font-license
xorg: fix Bigelow & Holmes fonts license
2021-06-20 11:54:23 +02:00
R. RyanTM
4f1b18b6b7 jackett: 0.18.345 -> 0.18.364 2021-06-20 09:48:08 +00:00
Fabian Affolter
0dc2567bee home-assistant: enable mill tests 2021-06-20 11:46:35 +02:00
Fabian Affolter
faad598cbf home-assistant: update component-packages 2021-06-20 11:45:45 +02:00
Fabian Affolter
5988bc29b3 home-assistant: enable ipma tests 2021-06-20 11:33:01 +02:00
Fabian Affolter
2bbc83edc4 home-assistant: update component-packages 2021-06-20 11:31:59 +02:00
Milan Pässler
8772f33bdd
mautrix-telegram: use sqlalchemy 1.3.x 2021-06-20 11:24:24 +02:00
Fabian Affolter
9c69513e1b home-assistant: update component-packages 2021-06-20 11:14:38 +02:00
Fabian Affolter
831f12fe6e home-assistant: update component-packages 2021-06-20 10:50:33 +02:00
Maximilian Bosch
9770439689
Merge pull request #127376 from Ma27/bump-grafana
grafana: 8.0.2 -> 8.0.3
2021-06-20 10:04:16 +02:00
Mario Rodas
f2122ea581
Merge pull request #127429 from marsam/update-pgvector
postgresqlPackages.pgvector: 0.1.6 -> 0.1.7
2021-06-19 19:28:41 -05:00
Mario Rodas
62796d8e8a
Merge pull request #127242 from r-ryantm/auto-update/imgproxy
imgproxy: 2.16.3 -> 2.16.4
2021-06-19 19:26:02 -05:00
Mario Rodas
e038e9d8a0
Merge pull request #127318 from r-ryantm/auto-update/jackett
jackett: 0.18.234 -> 0.18.345
2021-06-19 19:25:38 -05:00
Michele Guerini Rocco
023a4f2253
Merge pull request #127368 from rnhmjoj/searx-fix
searx: patch to fix a crash
2021-06-20 00:07:20 +02:00
Robert Schütz
6498fb43a6 home-assistant: test hive component 2021-06-19 18:18:57 +02:00
Robert Schütz
ef27876d15 home-assistant: update component-packages.nix 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
9518b35127 home-assistant: update component-packages.nix 2021-06-19 17:32:54 +02:00
Robert Schütz
6db5450068 home-assistant: test hangouts component 2021-06-19 13:35:01 +02:00
Robert Schütz
46c5313b78 home-assistant: update component-packages.nix 2021-06-19 13:33:01 +02:00
Robert Schütz
d8e175011a home-assistant: test habitica component 2021-06-19 11:46:33 +02:00
Robert Schütz
1f356cf7a8 home-assistant: update component-packages.nix 2021-06-19 11:45:22 +02:00
Robert Schütz
3b35637fdc home-assistant: test emulated_roku component 2021-06-18 23:47:19 +02:00
Robert Schütz
4fb1db2d73 home-assistant: update component-packages.nix 2021-06-18 23:44:53 +02:00
Maximilian Bosch
ae541afbf9
grafana: 8.0.2 -> 8.0.3
ChangeLog: https://github.com/grafana/grafana/releases/tag/v8.0.3
2021-06-18 20:21:12 +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