Commit Graph

162 Commits (fce869248cbb902aeece2ca7b469a2e90d7fdd3d)

Author SHA1 Message Date
Marc Mueller e2d2ec8817
Use asyncio.timeout [b-e] (#98448) 2023-08-15 08:30:20 -05:00
Erik Montnemery 045c327928
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
Erik Montnemery 87420e949d
Sort manifests 2 (#87023) 2023-02-08 20:16:39 +01:00
Franck Nijhof 939eef3b28
Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
GitHub Action 71d7098530 [ci skip] Translation update 2023-01-27 00:25:12 +00:00
Marc Mueller 6397138589
Update Optional typing (1) [Py310] (#86417)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-01-23 09:56:10 +01:00
Marc Mueller 06db5476e4
Improve DataUpdateCoordinator typing in integrations (2) (#84656) 2022-12-27 22:47:04 +01:00
epenet d89ba40010
Use UnitOfTemperature in integrations (a-d) (#84304) 2022-12-20 17:59:20 +01:00
GitHub Action f25017313a [ci skip] Translation update 2022-12-09 00:24:29 +00:00
Franck Nijhof 9864d9e0d2
Remove str from sensor device class (#83391) 2022-12-08 19:04:58 +01:00
GitHub Action 1f3e5fb4fc [ci skip] Translation update 2022-12-07 00:24:08 +00:00
GitHub Action a1eab7f842 [ci skip] Translation update 2022-12-04 00:23:06 +00:00
GitHub Action 230b50d099 [ci skip] Translation update 2022-11-29 00:26:01 +00:00
GitHub Action f3b3193f7a [ci skip] Translation update 2022-11-25 00:24:19 +00:00
GitHub Action eaf6d43508 [ci skip] Translation update 2022-11-23 00:26:26 +00:00
GitHub Action 3bea04e387 [ci skip] Translation update 2022-11-21 00:26:41 +00:00
GitHub Action 388328adba [ci skip] Translation update 2022-10-17 00:36:39 +00:00
epenet ff356205bf
Use platform constants from root (#78032) 2022-09-08 12:24:45 +02:00
GitHub Action 519d478d61 [ci skip] Translation update 2022-08-11 00:26:23 +00:00
GitHub Action 32a2999b85 [ci skip] Translation update 2022-08-06 00:24:46 +00:00
GitHub Action a3fd5acf3f [ci skip] Translation update 2022-07-13 00:27:34 +00:00
0bmay 2d2fd3e48f
Cache Canary camera image (#73923)
* Cache camera image

Cache camera image so a new image isn't generated each call.
Adds debug logging

* Apply suggestions from code review

code compression with walrus operator

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* fix after walrus operator suggested tweak

fully use the live_stream_session variable in async_camera_image

* Invalidate cached image after 15 minutes

requested code change; invalidate cached image

* Removed unnecessary if statement

based on code review

* Image capture flow updates

now sets the image expiration upon getting an updated image
updates the cache image only when a new image is captured

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-07-11 21:53:33 +02:00
J. Nick Koston cd03c49fc2
Wait for config entry platform forwards (#73806) 2022-07-09 17:27:42 +02:00
0bmay 3058a432a5
Bump py-canary to 0.5.3 (#73922) 2022-06-23 23:33:03 +02:00
GitHub Action 109d1844b3 [ci skip] Translation update 2022-06-21 00:22:51 +00:00
GitHub Action ceb8bb4745 [ci skip] Translation update 2022-05-21 00:22:49 +00:00
GitHub Action 10624e93c8 [ci skip] Translation update 2022-05-15 00:30:16 +00:00
0bmay b8c76a416b
Update py-canary to 0.5.2 (#71489)
Update py-canary from 0.5.1 to 0.5.2
Github issue #71052
Github Issue #44830
2022-05-07 23:28:05 +03:00
0bmay 1a00bb9fc4
Fix Canary camera stream blocking call (#71369)
* fix: Canary stream camera, fix blocker

fixes a "detected blocking call to putrequest inside the event loop. This is causing stability issues. Please report issue for canary doing blocking calls at homeassistant/components/canary/camera.py, line 149: self._live_stream_session.live_stream_url, extra_cmd=self._ffmpeg_arguments" from log file.

* refactor: black formatting changes

tsia
2022-05-06 08:00:48 -07:00
epenet 6343752f98
Use EntityFeature enum in components (c**) (#69341) 2022-04-05 23:49:20 +02:00
Marc Mueller 1072aff017
Update coordinator typing (1) [a-c] (#68442) 2022-03-21 15:49:39 +01:00
GitHub Action 6364e81be5 [ci skip] Translation update 2022-02-24 00:17:55 +00:00
GitHub Action 256ad084c5 [ci skip] Translation update 2022-02-03 00:14:18 +00:00
GitHub Action ca7d4234e1 [ci skip] Translation update 2022-01-31 00:14:28 +00:00
Dave T 0acfc7bbab
Align config flow type hints to scaffold (#65157) 2022-01-30 20:26:28 +01:00
GitHub Action 77ef86faee [ci skip] Translation update 2022-01-30 00:14:21 +00:00
J. Nick Koston 5b755b74fb
Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
Marc Mueller 4e2cd1bec0
Update typing (2) [a-i] (#63923) 2022-01-11 21:23:26 +01:00
GitHub Action 93758e2e6c [ci skip] Translation update 2022-01-01 00:14:34 +00:00
Allen Porter 14e4216e29
Put access to ffmpeg hass.data behind a method (#62570)
* Put access to ffmpeg hass.data behind a method

Move all callers of `hass.data[DATA_FFMPEG]` to a new function that returns the FFMpegManager.

* Update homeassistant/components/ffmpeg/__init__.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Remove unnecessary async_ prefix

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-21 23:40:43 -08:00
GitHub Action f75b325ab2 [ci skip] Translation update 2021-12-12 00:14:30 +00:00
epenet dfc85fe372
Use new SensorDeviceClass enum in canary (#61330)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-09 09:20:10 +01:00
Marc Mueller f57d42a9e8
Use platform enum (1) [A-D] (#60908)
* Use platform enum (1) [A-D]

* Fix imports

* Fix tests

* Use Platform even in tests
2021-12-03 08:51:30 -08:00
GitHub Action 96313bbbe0 [ci skip] Translation update 2021-11-27 00:12:17 +00:00
GitHub Action d3c020325b [ci skip] Translation update 2021-11-25 00:13:33 +00:00
GitHub Action e98977fb49 [ci skip] Translation update 2021-11-21 00:13:51 +00:00
GitHub Action 72b0eb719e [ci skip] Translation update 2021-11-20 00:12:27 +00:00
GitHub Action 29dc9de08f [ci skip] Translation update 2021-11-19 00:14:01 +00:00
GitHub Action e35b83081e [ci skip] Translation update 2021-11-08 00:12:31 +00:00
Robert Hillis 137d41d8b4
Use DeviceInfo Class B-C (#58217) 2021-10-23 11:41:32 +02:00