1
0
mirror of https://github.com/elisspace/core.git synced 2026-09-02 09:16:11 +00:00
Commit Graph

16298 Commits

Author SHA1 Message Date
epenet
3c42ea1a26 Use zeroconf attributes in forked-daapd (#58966)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 20:16:30 +01:00
Erik Montnemery
e88ea2d48c Show cast as playing when an app without media support is active (#59714) 2021-11-15 20:13:43 +01:00
Nathan Spencer
eaaa53d8d5 Add button to litterrobot (#59734) 2021-11-15 20:09:22 +01:00
epenet
ce9385d442 Use zeroconf attributes in elgato (#58958)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 20:04:21 +01:00
Austin Mroczek
49c4886f40 Fix totalconnect config flow (#59461)
* update total_connect_client to 2021.10

* update for total_connect_client changes

* remove unused return value

* bump total_connect_client to 2021.11.1

* bump total_connect_client to 2021.11.2

* Move to public ResultCode

* load locations to prevent 'unknown error occurred'

* add test for zero locations

* put error message in strings

* test for abort and message from strings

* handle AuthenticationError in step_user

* update tests with exceptions

* update reauth with exceptions

* use try except else per suggestion

* only create schema if necessary

* catch auth error in async_setup_entry

* one more fix in test_init
2021-11-15 11:32:35 -06:00
Simone Chemelli
5fc51130ea Replace util.get_local_ip in favor of components.network.async_get_source_ip() - part 4 (#58669)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-11-15 09:18:57 -08:00
epenet
b3ffc1e183 Adjust async_step_zeroconf signature for strict typing (#59503)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 18:05:45 +01:00
hesselonline
a4208c0926 Add Reauth flow to Wallbox integration (#58743)
* Add Reauth flow to Wallbox integration

* Review comments processed

* Fixed tests

* Added test for reauth invalid

* Commit to compensate for timedrift, show changes
Compensating for timedrift in my devcontainer,
making a new commit with the right date/time. Requested changes
were done in a previous commit.

* remove reauth schema

* Update homeassistant/components/wallbox/__init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>

Co-authored-by: J. Nick Koston <nick@koston.org>
2021-11-15 10:25:19 -06:00
epenet
1e5c767158 Add button entities to Renault (#59383)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 15:50:43 +01:00
Erik Montnemery
81d1899094 Bump pychromecast to 9.4.0 (#59716) 2021-11-15 14:50:40 +01:00
epenet
a3885f4fda Add frequency device class for sensor (#59700)
Co-authored-by: Hedda <rockerc.harley@gmail.com>
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 14:33:50 +01:00
Erik Montnemery
acf58111c6 Correct initial update of async_track_template_result (#59705) 2021-11-15 13:00:46 +01:00
J. Nick Koston
96f7b0d910 Use atomicwrites for mission critical core files (#59606) 2021-11-15 11:19:31 +01:00
Allen Porter
0991a30125 Pre-factor nest subscriber to library (#59462)
* Pre-factor nest subscriber to library

Move the nest subscriber to a library that can be reused in a future PR:
- From ConfigFlow for creating subscriptions
- On nest removal to delete subscriptions

This is pulled out of PR #59260 to make that easier to review.

* Resolve pylint error in nest api subscriber

* Remove duplicate constants
2021-11-14 16:08:22 -08:00
Ryan Fleming
9c2bff3b3b Use octoprint printer flag status to check if printer is printing (#59663) 2021-11-14 21:06:42 +01:00
Robert Hillis
85aeee7cc7 Add smartthings configuration_url (#58676) 2021-11-14 20:37:40 +01:00
Allen Porter
dbfe0cad52 Refactor nest test ConfigEntry setup in config flow tests (#59459)
* Refactor nest ConfigEntry creation in tests into a helper

This is pulled out of PR#59260 to make that overall diff smaller.

* Add typing consistently on new functions
2021-11-14 10:12:25 -08:00
JumpmanJunior
d9f3cff606 Fix IAD and vis for DS2438 1wire sensor (#59126)
* Fix vis and IAD for DS2438

* Fix IAD and vis for DS2438

* Fix IAD and vis for DS2438

* Fix IAD and vis for DS2438

* Fix IAD and vis for DS2438

* Fix IAD and vis for DS2438

* Fix IAD and vis for DS2438

* Fix IAD and vis for DS2438

* Fix IAD and vis for DS2438
2021-11-14 17:30:03 +01:00
Paulus Schoutsen
afa7ca1222 Drop block on local proxies from HA Cloud (#59334) 2021-11-14 08:11:12 -08:00
Robert Hillis
ee07e9b379 Fix unpatched timeout in gree config flow tests (#59449) 2021-11-14 16:57:50 +01:00
Robert Svensson
2ca874a15c Add configuration_url to deCONZ device when entry source is addon (#59598) 2021-11-14 11:49:02 +01:00
Franck Nijhof
458bc92124 Add test coverage to Twente Milieu (#59640) 2021-11-14 11:11:29 +01:00
Joakim Sørensen
f596cb19fd Handle KeyError in getuser (#59667) 2021-11-14 10:53:19 +01:00
J. Nick Koston
c323815760 Ensure flux_led bulbs turn on even if brightness is 0 (#59661) 2021-11-13 21:55:23 -08:00
Raphaël Beamonte
e42bb244b7 Add TP-Link LED control for Kasa plugs and strips (#59621) 2021-11-13 17:50:37 -06:00
Franck Nijhof
28a0ba4df3 Modernize/Simplify Twente Milieu (#59632) 2021-11-13 15:34:09 +01:00
Franck Nijhof
cce441332f Add button platform to Elgato (#59628)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-13 14:15:14 +01:00
Robert Hillis
68e80f1431 Remove yaml config from modem_callerid (#59526) 2021-11-13 14:14:49 +01:00
Franck Nijhof
5e6ad8977a Update vehicle to 0.2.0 (#59583) 2021-11-12 15:42:46 +01:00
Erik Montnemery
bcd9f3c05f Correct end time for monthly statistics summary (#59551)
* Correct end time for monthly statistics summary

* Add tests
2021-11-12 15:01:40 +01:00
j-stienstra
0ae5b9e880 Add Jellyfin integration (#44401)
* Initial commit after scaffold setup

* Add initial config flow

* Create initial entity

* Ready for testing

* Can browse, no result yet

* Further improvements. Browsing is working.
Now need to work on proper stream URL

* Two valid URLs. Do not play in HA

* First working version for music

* Add thumbnail

* Includes Artist->Album hierarchy

* Add sorting of artists, albums and tracks

* Remove code for video libraries

* Improved code styling

* Optimize configuration flow

* Fix unit tests for config flow

* Fix import order

* Conform to style requirements

* Use empty string as media type for non playables

* 100% code coverage config_flow

* Type async_get_media_source

* Final docsctring fix after rebase

* Add __init__ and media_source files to .coveragerc

* Fix testing issues after rebase

* Fix string format issues and relative const import

* Remove unused manifest entries

* Raise ConfigEntry exceptions, not log errors

* Upgrade dependency to avoid WARNING on startup

* Change to builtin tuple and list (deprecation)

* Log broad exceptions

* Add strict typing

* Further type fixes after rebase

* Retry when cannot connect, otherwise fail setup

* Remove unused CONFIG_SCHEMA

* Enable strict typing checks

* FlowResultDict -> FlowResult

* Code quality improvements

* Resolve mypy.ini merge conflict

* Use unique userid generated by Jellyfin

* Update homeassistant/components/jellyfin/config_flow.py

Remove connection class from config flow

Co-authored-by: Milan Meulemans <milan.meulemans@live.be>

* Minor changes for additional checks after rebase

* Remove title from string and translations

* Changes wrt review

* Fixes based on rebase and review suggestions

* Move client initialization to separate file

* Remove persistent_notification, add test const.py

Co-authored-by: Milan Meulemans <milan.meulemans@live.be>
2021-11-12 14:57:40 +01:00
ollo69
21f92f6286 Add Nut device explicitly to the device registry (#59525)
* Add Nut device explicitly to the device registry

* Restore resources in data and remove unused string
2021-11-12 11:10:40 +01:00
Paulus Schoutsen
e30e4d5c6d Block cloud explicitely from trusted networks (#59333)
* Block cloud explicitely from trusted networks

* Lint
2021-11-12 10:25:01 +01:00
Joakim Sørensen
13067003cb Fix issue with ranges in requirements with hassfest (#59470)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-12 09:39:30 +01:00
Paulus Schoutsen
6ef64f6b1c Fix CORS error in emulated_hue (#59570) 2021-11-11 22:11:41 -08:00
J. Nick Koston
5d2eb8d3ff Add tilt support to bond covers (#59505) 2021-11-11 19:31:58 -08:00
Erik Montnemery
d1ee041997 Test sensor unit conversion (#59546) 2021-11-11 10:36:53 -08:00
uvjustin
9ea338c121 Remove incomplete segment on stream restart (#59532) 2021-11-12 00:59:13 +08:00
Thomas Dietrich
90ee1f4783 Add available property to statistics component (#59203)
* Add available property to the statistics component

* Add test for statistics sensor availability

* Clean up availability check

* Improve statistics source sensor tests

* Revert variable rename

* Improve comments
2021-11-11 17:16:59 +01:00
epenet
4ecbfe8646 Drop STEP_ID constants from data_entry_flow (#59497)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-11 16:28:46 +01:00
Jonathan Keljo
a079b4fd58 Add tests to bring greeneye_monitor to 99% coverage (#58661)
* Bring greeneye_monitor to 99% coverage.

* Pass monitor into listeners on Monitors

* Updates for changes in `dev`, create mock monitor

* Remove logging left in after debugging

* Remove xfails now that #58764 has merged
2021-11-11 13:20:16 +01:00
Erik Montnemery
a29264518c Don't allow turning on audio only chromecasts (#59495)
* Don't allow turning on audio only chromecasts

* Improve tests

* Adjust tests
2021-11-11 12:33:15 +01:00
Erik Montnemery
85786fd987 Make some device action tests more explicit (#59469)
* Make some device action tests more explicit

* Adjust tests
2021-11-11 12:32:51 +01:00
Erik Montnemery
731bec3145 Improve test coverage (#59531) 2021-11-11 10:25:23 +01:00
Erik Montnemery
65b1f0d9eb Minor refactor of energy validator (#58209) 2021-11-10 22:38:15 -08:00
Erik Montnemery
a14131a679 Suppress media status when the lovelace cast app is active (#59481)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-11-10 22:33:07 -08:00
J. Nick Koston
cab9f821a1 Fix zeroconf with sonos v1 firmware (#59460) 2021-11-10 22:31:08 -08:00
Matthias Alphart
f8f060b72b Make util.color._match_max_scale public (#59207) 2021-11-10 22:29:16 -08:00
Franck Nijhof
61e4ebf155 Add button entity platform (restart button) to WLED (#59086)
Co-authored-by: Tom Brien <TomBrien@users.noreply.github.com>
2021-11-10 22:22:52 -08:00
Franck Nijhof
8447bbf5f0 Add binary sensor platform to RDW Vehicle information (#59253) 2021-11-10 22:22:18 -08:00