Commit Graph
36644 Commits
Author SHA1 Message Date
Erik MontnemeryandGitHub ee6c77048c Improve editing of device actions referencing non-added humidifier (#51749) 2021-06-17 10:27:22 +02:00
Franck NijhofandGitHub 17a71020db Define RemoteEntity entity attributes as class variables (#51904) 2021-06-17 10:21:49 +02:00
Franck NijhofandGitHub 9f17b8856a Define WaterHeaterEntity entity attributes as class variables (#51903) 2021-06-17 10:19:29 +02:00
Franck NijhofandGitHub 3b00e87ebc Define WeatherEntity entity attributes as class variables (#51899) 2021-06-17 10:16:16 +02:00
Franck NijhofandGitHub 7947946793 Type entry setup/unload for entity components (#51912) 2021-06-17 10:10:26 +02:00
Eugenio PanaderoandGitHub b7c1df7864 Adopt new electricity tariffs in pvpc hourly pricing (#51789) 2021-06-17 09:03:28 +02:00
jjlawrenandGitHub d4ac5bf048 Bump plexapi to 4.6.1 (#51936) 2021-06-17 09:02:23 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
aaf3a5a9c5 Bump actions/upload-artifact from 2.2.3 to 2.2.4 (#51946)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.2.3 to 2.2.4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2.2.3...v2.2.4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-17 08:31:20 +02:00
RenierM26andGitHub fe26c34e87 Clean ezviz error handling in services (#51945) 2021-06-17 08:30:19 +02:00
Konstantin AntselovichandGitHub c8329032b2 Fix whois expiration date (#51868) 2021-06-17 05:57:46 +02:00
986c4a8f29 Support Wolflink reconnection after unexpected failure (#47011)
* Support reconnection after unexpected fails

* Update session at every call. Support Offline devices

* Remove unnecessary else branch

* Clean typing

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-17 05:24:17 +02:00
Franck NijhofandGitHub 33e08f38da Raise bad request when receiving HTTP request from untrusted proxy (#51839)
* Raise bad request when receiving HTTP request from untrusted proxy

* Fix code comment
2021-06-17 04:41:19 +02:00
GitHub Action 17414439df [ci skip] Translation update 2021-06-17 00:10:03 +00:00
Raman GuptaandGitHub a250343c55 Support bitmask as a value (#51892)
* Support bitmask as a value

* Fix value schema and add tests

* fix test

* revert change to value schema
2021-06-16 15:53:45 -04:00
31db3fcb23 Refactor Sonos alarms and favorites into system-level coordinators (#51757)
* Refactor alarms and favorites into household-level coordinators

Create SonosHouseholdCoodinator class for system-level data
Fix polling for both alarms and favorites
Adjust tests

* Fix docstring

* Review cleanup

* Move exception handling up a level, do not save a failed coordinator

* Apply suggestions from code review

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-16 10:30:05 -05:00
Franck NijhofandGitHub bc3e5b39ed Clean up cover group (#51924) 2021-06-16 14:47:29 +02:00
djtimcaandGitHub dc9f1411d4 Add Omnilogic switch defaults for max_speed and min_speed (#51889) 2021-06-16 14:39:09 +02:00
Franck NijhofandGitHub 13bf5dbee4 Upgrade mypy to 0.902 (#51907) 2021-06-16 14:35:32 +02:00
Franck NijhofandGitHub 4655e3aa08 Clean up light group (#51922) 2021-06-16 14:30:25 +02:00
jan iversenandGitHub 7ad91fdf71 Add swap to climate and change data_count -> count in modbus (#51668) 2021-06-16 12:11:23 +02:00
61079ab7fa Support receiving long-press events from WeMo devices (#45503)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-16 12:00:34 +02:00
Franck NijhofandGitHub c65d120633 Fix typo in min/max mired(s) entity class attribute (#51921) 2021-06-16 09:58:21 +02:00
Franck NijhofandGitHub 37d3a4dd53 Use entity class vars in Switch demo (#51906)
* Use entity class vars in Switch demo

* Fix missing initial state of the demo switch
2021-06-16 08:29:31 +02:00
Rob BierboomsandGitHub ff0c753c87 Bump pyRFXtrx to 0.27.0 (#51911)
* Bump version

* Fix test
2021-06-15 20:34:05 -05:00
GitHub Action a072fb059d [ci skip] Translation update 2021-06-16 00:09:27 +00:00
uvjustinandGitHub 6d656dd2ec Speed up record stream audio test (#51901) 2021-06-15 14:27:53 -04:00
Milan MeulemansandGitHub 63e20f2ced Mark config flow fields as required (#51898)
* flo

* goalzero

* mutesync

* ring

* roon

* risco

* Ruckus Unleashed

* Scaffold template
2021-06-15 19:21:30 +02:00
3488b78365 Add a menu_cursor service to the yamaha component (#44819)
* Add a menu_cursor service to the yamaha component

* Update homeassistant/components/yamaha/media_player.py

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

* Update service description to new format

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-06-15 19:17:10 +02:00
Franck NijhofandGitHub 37af42e470 Upgrade pillow to 8.2.0 (#51897) 2021-06-15 19:14:57 +02:00
Matthias AlphartandGitHub b08f473da4 Add current hvac_action to KNX climate (#51464) 2021-06-15 17:51:16 +02:00
Franck NijhofandGitHub 16d5d7e508 Upgrade codecov to 2.1.11 (#51885) 2021-06-15 15:04:48 +02:00
Franck NijhofandGitHub e4202aa4de Upgrade pytest-cov to 2.12.1 (#51886) 2021-06-15 15:04:07 +02:00
22b8dc16c2 Add services to ezviz integration (#48984)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-06-15 13:23:32 +02:00
Kevin WorrelandGitHub 515bd18ddd Don't create unsupported pump sensors (#51828)
* Don't create unsupported pump sensors

* Remove old code and simplify new statements.

* Address notes
2021-06-15 13:19:48 +02:00
Matthias AlphartandGitHub c0d311473c Restore state of KNX Switch (#51761) 2021-06-15 13:08:19 +02:00
JanandGitHub 333f199bd4 Additional units for HM-ES-TX-WM with ES-IEC (#50713)
The Homematic HM-ES-TX-WM with ES-IEC adapter needs additional unit cast for `IEC_POWER` and `IEC_ENERGY_COUNTER`.
2021-06-15 12:13:03 +02:00
Erik MontnemeryandGitHub f3c6e846fa Enable asyncio debugging from debugpy integration (#51880)
* Optionally enable asyncio debugging from debugpy integration

* Unconditionally enable asyncio debugging
2021-06-15 12:10:47 +02:00
Raman GuptaandGitHub 3db8d9ede5 Require admin for new node status WS API command (#51863) 2021-06-15 09:34:04 +02:00
Erik MontnemeryandGitHub 59a3e0f4dc Improve editing of device conditions referencing non-added HVAC (#51832) 2021-06-15 02:23:13 +02:00
GitHub Action 5469cc8fb2 [ci skip] Translation update 2021-06-15 00:11:31 +00:00
dfe21eb78f Add selectors to BMW Connected Drive service definitions (#47065)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2021-06-15 00:56:14 +02:00
e1538594cd Update fortios device tracker to support FortiOS 7.0 (#51640)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-15 00:29:37 +02:00
3a2d50fe23 Add Xiaomi Miio EU gateway support (#47955)
* Add EU gateway support

* add options flow translations

* fix options flow

* fix missing import

* try to fix async_add_executor_job

* try to fix async_add_executor_job

* fix unload

* check for login succes

* fix not reloading

* use cloud option

* fix styling

* Return after if

Co-authored-by: Nathan Tilley <nathan@tilley.xyz>

* cleanup

* add options flow tests

* fix new tests

* fix typo in docstring

* add missing blank line

* Use async_on_unload

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

* Use async_on_unload

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

* Use async_setup_platforms

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

* Use async_unload_platforms

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

* Update homeassistant/components/xiaomi_miio/__init__.py

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

* Update homeassistant/components/xiaomi_miio/const.py

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

* default use_cloud False

* add options flow checks

* fix styling

* fix issort

* add MiCloud check tests

* fix indent

* fix styling

* fix tests

* fix tests

* fix black

* re-write config flow

* add explicit return type

* update strings.json

* black formatting

* fix config flow

Tested the config flow and it is now fully working

* fix styling

* Fix current tests

* Add missing tests

* fix styling

* add re-auth flow

* fix styling

* fix reauth flow

* Add reauth flow test

* use ConfigEntryAuthFailed

* also trigger reauth @ login error

* fix styling

* remove unused import

* fix spelling

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

* Fix spelling

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

* fix spelling

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

* remove unessesary .keys()

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

* combine async_add_executor_job calls

* remove async_step_model

* fix wrong indent

* fix gatway.py

* fix tests

Co-authored-by: Nathan Tilley <nathan@tilley.xyz>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-15 00:05:40 +02:00
Raman GuptaandGitHub 8705168fe6 Add zwave_js WS API cmds to get node state and version info (#51396)
* Add zwave_js view to retrieve a node's state

* remove typehints

* Make dump views require admin

* Add version info to node level dump

* Add back typehints

* switch from list to dict

* switch from dump node view to two WS API commands

* switch to snake
2021-06-14 16:43:51 -04:00
Raman GuptaandGitHub f00f2b4ae4 Add zwave_js ping node service (#51435)
* Add zwave_js ping node service

* uncomment code

* use asyncio.gather
2021-06-14 16:38:35 -04:00
Brian TowlesandGitHub b1fa01e4bc Cleanup of code reviews from initial modern forms (#51794) 2021-06-14 21:04:02 +02:00
yllarandGitHub 7329dc4f6b Add missing languages to Microsoft TTS (#51774) 2021-06-14 14:10:21 -04:00
jjlawrenandGitHub e929774481 Add warning during playback if Plex token missing (#51853) 2021-06-14 20:09:27 +02:00
Raman GuptaandGitHub 0d40ba463e Create zwave_js node status sensor when the node is added (#51850)
* Create node status sensor when the node is added

* Handle race condition

* reduce repeat code
2021-06-14 19:31:44 +02:00
Franck NijhofandGitHub 347ef9cb4c Define NumberEntity entity attributes as class variables (#51842) 2021-06-14 09:05:01 -07:00