Commit Graph
43208 Commits
Author SHA1 Message Date
340ffc96dc Use new enums in sleepiq (#62203)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-19 13:15:09 +01:00
19fc15c3ac Use new enums in saj (#62205)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-19 13:12:02 +01:00
1d1c91a4eb Use _attr_** in slide (#62206)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-19 13:08:59 +01:00
6a489bb45a Cleanup attr** usage in uptime (#62212)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-19 13:06:36 +01:00
Gage BenneandGitHub 7d3dfeea64 Bump pydexcom to 0.2.2 (#62207) 2021-12-19 13:05:51 +01:00
b0cfc76add Use new enums in smarthab (#62208)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-19 13:04:52 +01:00
Klaas SchouteandGitHub 779ce6216c Change unload for P1 Monitor (#62213) 2021-12-19 13:03:06 +01:00
Robert HillisandGitHub d52caf77d5 Finish using enums in srp_energy (#62192) 2021-12-19 13:02:29 +01:00
Dave TandGitHub b01078199a Use DeviceClass Enums in filter tests (#62138) 2021-12-19 13:01:54 +01:00
Franck NijhofandGitHub 7fe895e554 Add unique ID to config entry in Luftdaten (#62176) 2021-12-19 12:42:52 +01:00
Robert HillisandGitHub b559d8845e Use enums in zwave_js (#62130)
* Use enums in zwave_js

* oops
2021-12-19 12:28:09 +01:00
Matthias AlphartandGitHub 1cbcb9e2fd Don't add Fronius entities with unknown state (#62282) 2021-12-19 11:49:21 +01:00
Matthias AlphartandGitHub 37bed64607 Silently retry Fronius inverter endpoint 2 times (#61826) 2021-12-19 11:37:14 +01:00
Andre LengwenusandGitHub 38cb477e7b Cleanup tests for lcn events and device triggers (#61719)
* Return PchkConnectionManager instance from init_integration

* Removed ip and port from LCN host model identifer

* Fix syntax error

* Convert init_integration to a fixture

* Rename device model for host

* Instantiate MockPchkConnectionManager with arguments from tests

* Invert logic for testing devices
2021-12-19 10:38:33 +01:00
J. Nick KostonandGitHub 615872a5d1 Align zeroconf matching with ZeroconfServiceInfo (#62133) 2021-12-19 02:09:21 -06:00
a63fa53275 Persist nest media events to disk backed storage (#61641)
* Persist nest media events to disk backed storage

Persist nest events in the media player to disk, targeting about ~500mb
per camera device as a cap. Events are stored in config/nest/event_media/.

Add a NestEventMediaStore is used for persistence. It has three main jobs:
- Read/write the key/value data that holds event data (event type, time, device, etc)
- Read/write media contents to disk
- Pick the filename for the media event based on device and event deatils

The nest event media manager library handles cache management and eviction, and by
default uses an in memory cache. Home Assistant nest integration now provides the
disk backed implementation, which is invoked by the nest library.

The store reads the event metadata key/value dict on startup, and then writes it
back with a short delay of 5 seconds to avoid unnecessary writes.

Future work planned includes:
- Possibly a small memory buffer for media objects themselves. This could make sense
  when adding thumbnails to the media player grid to avoid unnecessary fetches
- Transcoding mp4 clips to animated image previews

* Address style errors

* Cleanup from CI test/pylint/etc.

* Put media for each device into its own directory

* Update comments for media store

* Decrease # of events to lower disk requirements

Target more like 1k events, to reduce disk needs.

* Address PR feedback

* Update homeassistant/components/nest/media_source.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Ignore incorrect mypy in nest library

* Fix pylint errors

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-12-18 23:53:40 -08:00
J. Nick KostonandGitHub e834382b9a Add pico remote support to non-pro lutron caseta bridges (#61032) 2021-12-19 01:41:02 -06:00
Allen PorterandGitHub 832184bacd Speed up stream tests by 40-50% with shared data (#62300) 2021-12-18 23:14:21 -08:00
a6b680cd32 Add support for enabling/disabling cloud access in flux_led (#61138)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-12-19 00:59:16 -06:00
J. Nick KostonandGitHub d7c5e41802 Add hardware version to bond (#62256) 2021-12-18 22:30:44 -08:00
90345b1cf2 Fix logging for Shelly climate platform (#62264)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-12-18 22:28:26 -08:00
J. Nick KostonandGitHub 4572fec680 Bump flux_led to 0.27.8 to fix discovery of older devices (#62292) 2021-12-18 22:27:34 -08:00
J. Nick KostonandGitHub 7764c957ba Avoid setting nexia humidity to the same value since it causes the api to fail (#61843) 2021-12-18 22:26:19 -08:00
J. Nick KostonandGitHub 03477e0ae6 Split august motion and image capture binary sensors (#62154) 2021-12-18 22:25:30 -08:00
Aaron BachandGitHub ebfe9aa384 Add a switch to opt-in to/opt-out of the next Ridwell pickup (#62293)
* Add buttons to opt into/out of the next Ridwell pickup

* Buttons finished

* Coverage

* better name

* Move to switch

* Clean up

* Coverage

* Use correct exception
2021-12-18 23:06:17 -07:00
Dave TandGitHub afdc570d70 Use DeviceClass Enums in homekit_controller tests (#62219) 2021-12-18 23:56:59 -06:00
J. Nick KostonandGitHub a4c101b021 Add network support to flux_led discovery (#61132) 2021-12-18 21:55:57 -08:00
J. Nick KostonandGitHub a40549c1b9 Fix hw_version not updating from an entity device_info (#62254) 2021-12-18 21:53:49 -08:00
Eric SeveranceandGitHub 8d6763eaad Add wemo config_flow test to get 100% coverage (#62158) 2021-12-18 23:43:31 -06:00
Paulus SchoutsenandGitHub 6fd617a89e Bump ring to 0.7.2 (#62299) 2021-12-18 23:41:59 -06:00
Michael ChisholmandGitHub f280b03df8 Update async-upnp-client library to 0.23.1 (#62298) 2021-12-18 23:41:32 -06:00
931d51949d Use new DeviceClass enums in homekit (#61665)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-18 19:07:04 -06:00
GitHub Action d3710c7ba6 [ci skip] Translation update 2021-12-19 00:14:45 +00:00
Aaron BachandGitHub 98c398cc37 Bump aioridwell to 2021.12.2 (#62284) 2021-12-18 16:26:37 -07:00
micha91andGitHub ba79de56ab Move Device Class definition to Home Assistant for MusicCast Select Entities (#61218)
* Add a device class mapping to the consts to map from capability IDs to HA device classes.

* Use python3.8 compliant typing

* Fix return type

* Use relative import for musiccast const
2021-12-19 00:18:42 +01:00
J. Nick KostonandGitHub 4dc70536b6 Fix Non-thread-safe operation in rflink binary_sensor (#62286) 2021-12-19 00:14:41 +01:00
J. Nick KostonandGitHub b05149fc28 Fix Non-thread-safe operation in zwave node_added (#62287) 2021-12-18 23:17:54 +01:00
Chris TalkingtonandGitHub 99d1e015ad Update rokuecp to 0.8.5 (#62285) 2021-12-18 14:50:49 -06:00
starkillerOGandGitHub 58bcf275f5 Add xiaomi miio gateway hw version (#62274) 2021-12-18 17:46:16 +01:00
Robert HillisandGitHub 78f2866f98 Finish using enums in wled (#62189) 2021-12-18 16:17:55 +01:00
Martin HjelmareandGitHub ff530dce0d Fix fitbit no SSL URL handling (#62270) 2021-12-18 15:00:07 +01:00
93cba53860 Use new enums in smappee (#62209)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-18 14:56:13 +01:00
Robert HillisandGitHub af631b90e5 Use enums in statistics tests (#62191) 2021-12-18 14:54:26 +01:00
a39f0643e8 Use new enums in smart_meter_texas (#62210)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-18 14:53:50 +01:00
ac0fa3cbf8 Use new enums in smarttub (#62216)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-18 14:51:39 +01:00
J. Nick KostonandGitHub 051a6499b8 Add software version to screenlogic (#62255) 2021-12-18 14:49:29 +01:00
J. Nick KostonandGitHub b1ac1596d8 Add ATTR_HW_VERSION to homeassistant.const (#62258) 2021-12-18 14:46:22 +01:00
starkillerOGandGitHub c40b02896a Hyperion add entity category (#62268) 2021-12-18 14:45:53 +01:00
starkillerOGandGitHub 503a5cbd44 Motion blinds add entity category (#62266) 2021-12-18 14:23:34 +01:00
Franck NijhofandGitHub e2c65a3034 Upgrade tailscale to 0.1.6 (#62267) 2021-12-18 14:18:31 +01:00