Commit Graph
11485 Commits
Author SHA1 Message Date
98adeb6070 Fix false positive MQTT climate deprecation warnings for defaults (#67661)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-03-07 15:38:33 +01:00
Erik MontnemeryandGitHub a9cc2d2322 Add config flow for cover, fan, light and media_player groups (#67660)
* Add options flow support to HelperConfigFlowHandler

* Add config flow for cover, fan, light and media_player groups

* Update according to review comments

* Update translation strings

* Update translation strings

* Copy schema before adding suggested values
2022-03-07 13:05:04 +01:00
Joakim SørensenandGitHub 9a6f5bbc04 Update whoami URL (#67793) 2022-03-07 11:11:25 +01:00
Joakim PlateandGitHub e8c05298ba Remove rfxtrx signal repetition (#67675) 2022-03-06 10:29:20 +01:00
J. Nick KostonandGitHub 26c5dca45d Ensure elkm1 can be manually configured when discovered instance is not used (#67712) 2022-03-06 00:02:22 -08:00
Mike FugateandGitHub cc9fd2bcba Add firmness number entity to SleepIQ (#65841) 2022-03-05 11:45:56 -10:00
Raman GuptaandGitHub 9632cbeffa Improve zwave_js custom triggers and services (#67461)
* Improve zwave_js custom triggers and services

* Switch from pop to get

* Support string boolean values

* refactor and add coverage

* comments and additional assertions
2022-03-05 09:00:31 +01:00
c5f7e7d1b0 Refactor run app in SamsungTV (#67616)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-04 14:37:27 -10:00
777ae584d4 Add unique_id to Fritz diagnostics (#67384)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-03-04 14:43:33 -08:00
9db3e321e4 Add message for unsupported models in samsungtv (#67549)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-04 12:06:15 -10:00
0c12914548 Add config flow for switch.light (#67447)
* Add config flow for switch.light

* Refactor according to code review

* Setup light switch from config entry

* Improve async_resolve_entity

* Prepare for multiple steps

* Remove name and options flow from switch light

* Check type before adding description to schema keys

* Remove options flow enabler

* Copy name from the switch

* Move helper flows to new file

* Improve test coverage

* Fix name

* Remove dead code from abstract method

* Remove manifest 'helper' option

* Validate registry entry id before forwarding to light platform

* Improve test

* Add translations

* Improve config entry setup

* Log when config entry fails setup

* Update homeassistant/components/switch/__init__.py

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-03-04 20:02:17 +01:00
G JohanssonandGitHub 3f9a6bbaa7 Fix sql false warning (#67614) 2022-03-04 08:20:10 -10:00
Franck NijhofandGitHub 5965b015dd Adjust data entry flow to have an option data_schema (#67637) 2022-03-04 16:42:02 +01:00
Martin HjelmareandGitHub f91a809350 Add mysensors notify tests (#67634) 2022-03-04 14:47:27 +01:00
Jan BouwhuisandGitHub 5ab4b5d15a MQTT Improve warning override deprecated settings (#67609) 2022-03-04 12:39:29 +01:00
Erik MontnemeryandGitHub cd25769667 Rename async_resolve_entity_ids to async_validate_entity_ids (#67603) 2022-03-04 09:51:53 +01:00
Paulus SchoutsenandGitHub fbc39d1206 Log stack trace if exception without message (#67587) 2022-03-04 09:48:07 +01:00
Allen PorterandGitHub 57ffc65af2 Improve google calendar test quality and share setup (#67441)
* Improve google calendar test quality and share setup

Improve google calendar test quality by exercising different combinations of
cases and new coverage. The existing test cases do achieve very high coverage,
however some of the subtle interactions between the components are not as well
exercised, which is needed when we start changing how the internal code is
structured moving to async or to config entries.

Ipmrovement include:
- Exercising additional cases around different types of configuration parameters
  that control how calendars are tracked or not tracked. The tracking can be
  configured in google_calendars.yaml, or by defaults set in configuration.yaml
  for new calendars.
- Share even more test setup, used when exercising the above different scenarios
- Add new test cases for event creation.
- Improve test readability by making more clear the differences between tests
  exercising yaml and API test calendars. The data types are now more clearly
  separated in the two cases, as well as the entity names created in the two
  cases.

* Undo some diffs for readability

* Improve pydoc readability

* Improve pydoc readability

* Incorporate improvements from Martin

* Make test parameters a State instance

* Update test naming to be more correct

* Fix flake8 errors
2022-03-03 23:12:24 -08:00
Allen PorterandGitHub 4e52f26ed1 Fix flaky google calendar test (#67600) 2022-03-03 22:48:55 -08:00
Chris TalkingtonandGitHub 79e9eb1b94 Suppress roku power off timeout errors (#67414) 2022-03-03 21:08:29 -08:00
Erik MontnemeryandGitHub 2007379701 Restore state of template binary sensor with on or off delay (#67546) 2022-03-03 15:27:39 -08:00
Franck NijhofandGitHub 02391663c1 Add config flow to Moon (#67444) 2022-03-03 15:12:33 -08:00
J. Nick KostonandGitHub 6d2302b703 Add guards for HomeKit version/names that break apple watches (#67585) 2022-03-03 15:03:46 -08:00
e7ca6b6e38 Highlight in logs it is a custom component when setup fails (#67559)
Co-authored-by: Joakim Sørensen <ludeeus@ludeeus.dev>
2022-03-03 15:03:03 -08:00
Jan BouwhuisandGitHub 9356bf1a8e Fix MQTT config flow with advanced parameters (#67556)
* Fix MQTT config flow with advanced parameters

* Add test
2022-03-03 21:40:15 +01:00
Keilin BickarandGitHub 24e0c0b092 Add pressure sensor for SleepIQ (#67574) 2022-03-03 10:27:22 -10:00
Keilin BickarandGitHub 423c14e2a1 Add light entity to SleepIQ (#67363) 2022-03-03 09:42:33 -10:00
cfed1ff799 Add config flow for selecting precision of DS18B20 devices (#64315)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-03 11:41:59 -08:00
8e3b0f6554 Cleanup mac fixtures in samsungtv tests (#67529)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-03 08:07:08 -10:00
74483d2669 Fix Samsung TV state when the device is turned off (#67541)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-03 08:06:33 -10:00
1a78e18eeb Add update integration (#66552)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-03-03 08:27:09 -08:00
Allen PorterandGitHub 2678d8120a Update nest media source to make device play most recent event (#67557) 2022-03-03 08:16:03 -08:00
15580281a3 Allow area, device, and entity selectors to optionally support multiple selections like target selector (#63138)
* Allow area, device, and entity selectors to optionally support multiple selections like target selector

* Update according to code review comments

* Adjust tests

* Update according to review comments

* Tweak error message for multiple entities

Co-authored-by: Erik <erik@montnemery.com>
2022-03-03 10:35:06 +01:00
J. Nick KostonandGitHub ad87d06d1f Enable strict typing for usb (#67466)
* Enable strict typing for usb

* Enable strict typing for usb

* Enable strict typing for usb

* adjust

* coverage

* Update tests/components/usb/test_init.py
2022-03-03 07:59:31 +01:00
G JohanssonandGitHub a3a66451d7 Implement reauth for Sensibo (#67446) 2022-03-02 12:22:14 -10:00
b8861578ff Implement async websocket in samsungtv (#67127)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-02 09:30:33 -10:00
jan iversenandGitHub a4915eb704 Handle exception in modbus slave sensor (#67472) 2022-03-02 09:49:57 -08:00
Jan BouwhuisandGitHub a97fe7aae0 Mqtt fix issue with displaying non UTF-8 payload (#67471)
* Mqtt fix issue with displaying non UTF-8 payload

* None or binary

* Casting and additional test

* casting
2022-03-02 17:01:47 +01:00
Michael ChisholmandGitHub 797a9c3de5 Sort DMS results using only criteria supported by the device (#67475) 2022-03-02 07:54:47 -08:00
Erik MontnemeryandGitHub c5dd5e18c0 Improve binary sensor group when member is unknown or unavailable (#67468) 2022-03-02 07:53:13 -08:00
Erik MontnemeryandGitHub 5b8cf379a3 Improve mobile_app key handling (#67429) 2022-03-02 07:49:48 -08:00
Jc2kandGitHub 0974abf9e2 Remove Ecobee homekit vendor extensions that just don't work (#67474) 2022-03-02 15:00:48 +01:00
cnicoandGitHub beb4756eb8 Address late review of flipr (#67477) 2022-03-02 13:00:33 +01:00
Martin HjelmareandGitHub e9496869da Rework mysensors test fixtures (#67331)
* Reworks mysensors test fixtures

* Fix missing autospecced methods
2022-03-02 07:23:36 +01:00
Mike DegatanoandGitHub 4ea6ca7f91 Prefer internal docker URL for VLC telnet when possible (#67090) 2022-03-01 21:56:20 -08:00
Paulus SchoutsenandGitHub 65eefcacfc Add support for detecting hostname based addresses as internal (#67407) 2022-03-01 16:56:05 -08:00
cnicoandGitHub 7889aace5f Add flipr API error detection and catch it correctly. (#67405) 2022-03-01 16:21:47 -08:00
Paulus SchoutsenandGitHub d68ada74cc Restore children media class (#67409) 2022-03-01 15:14:14 -08:00
Joakim SørensenandGitHub e58ce7ab6e Fix returned value from backup/info WS command (#67439) 2022-03-01 21:37:51 +01:00
J. Nick KostonandGitHub 94130a6060 Avoid creating wiring select for Magic Home if its not supported (#67417) 2022-03-01 09:18:09 -10:00