Commit Graph

9246 Commits (9c11bb8ba15ae9675079ccc00710546fa1e1c17c)

Author SHA1 Message Date
J. Nick Koston 7fbe1dbc99
Remove legacy fan compatibility shim (#59781) 2021-12-03 21:57:46 -08:00
Chen-IL ac26c2378b
Add temperature sensors for Asuswrt (#58303)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-12-03 11:27:17 -08:00
Clifford Roche d6c27809dc
Gree update device ips when changed (#57876) 2021-12-03 11:18:53 -08:00
Jan Bouwhuis 88b93546f3
Re-add-tests with new filters removed with #60854 (#60895) 2021-12-03 11:04:05 -08:00
Allen Porter ba99dc3af9
Add Nest Battery Cam event clip support with a Nest MediaSource (#60073) 2021-12-03 10:53:05 -08:00
epenet b65b25c1bb
Move MqttServiceInfo to init.py (#60905)
Co-authored-by: epenet <epenet@users.noreply.github.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-12-03 19:34:48 +01:00
David F. Mulcahey 02b5449648
Add support for siren entities in ZHA (#60920) 2021-12-03 19:23:57 +01:00
jjlawren cbf2bf2e1f
Add audio input format sensor to Sonos HT devices (#60884) 2021-12-03 10:06:56 -08:00
Marius b61dede826
Add command_line icon_template (#58877)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2021-12-03 10:06:32 -08:00
Tobias Sauerwein cf7a614309
Add battery sensor for Netatmo climate devices (#60911) 2021-12-03 09:33:24 -08:00
Marvin Wichmann 3baa7b679d
Use new Platform enum in KNX (#60902) 2021-12-03 09:29:38 -08:00
Matthias Alphart 77cd751543
DHCP discovery for Fronius integration (#60806)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-03 18:29:15 +01:00
epenet 75ec937359
Use new Platform enum in Renault (#60903)
* Use Platform enum in Renault

* Use Platform enum in Renault tests

Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-03 09:28:04 -08:00
epenet 231d434b76
Use new Platform enum in Onewire (#60904)
* Use new Platform enum in Onewire

* Use Platform in tests

Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-03 09:25:22 -08:00
epenet adf2fa5664
Use EntityCategory enum in Onewire (#60907)
* Use EntityCategory enum in Onewire

* Add checks for the entity_category

* Fix typo

Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-03 09:20:00 -08: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
Bram Kragten ef458b237c
Return if user is local only (#60917) 2021-12-03 16:34:26 +01:00
jjlawren b883014ed4
Add Sonos subwoofer and surround on/off controls (#60918) 2021-12-03 16:05:40 +01:00
epenet e64f901e92
Use dataclass properties in zwave_js (#60913)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-03 14:47:56 +01:00
epenet 358922db56
Use dataclass for HassioServiceInfo (#60824)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-03 14:05:56 +01:00
Joakim Sørensen d784c8dd1a
Remove Supervisor panel title and icon (#60894) 2021-12-03 10:35:57 +01:00
epenet c04bfcc7f4
Use dataclass properties in devolo_home_network tests (#60889)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-03 08:51:42 +01:00
epenet b70d24394e
Use dataclass properties in homekit_controller tests (#60891)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-03 08:51:13 +01:00
epenet 2da9a51919
Use dataclass properties in keenetic_ndms2 tests (#60892)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-03 08:50:52 +01:00
Erik Montnemery 9f4a99fe81
Revert "Add bytes support for bitwise template operations" (#60854) 2021-12-03 08:50:29 +01:00
epenet a64ff2ae27
Use dataclass properties in system_bridge tests (#60888)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-03 08:49:35 +01:00
Erik Montnemery 0e3bc21d54
Teach state and numeric_state conditions about entity registry ids (#60841) 2021-12-02 14:55:12 -08:00
epenet 9e96f3e227
Use HassioServiceInfo in deconz tests (#60868) 2021-12-02 10:33:23 -10:00
J. Nick Koston d7c4a669f1
Revert "Use HassioServiceInfo in mqtt tests" (#60867) 2021-12-02 10:13:41 -10:00
epenet 37200decf9
Use HassioServiceInfo in mqtt tests (#60865) 2021-12-02 10:10:50 -10:00
epenet 272b147550
Use HassioServiceInfo in adguard tests (#60866) 2021-12-02 10:10:15 -10:00
epenet ade228ebc6
Use HassioServiceInfo in motioneye tests (#60861) 2021-12-02 10:09:26 -10:00
epenet 2be939b45b
Use HassioServiceInfo in zwave_js tests (#60863) 2021-12-02 20:57:45 +01:00
epenet dff624f371
Use HassioServiceInfo in ozw tests (#60864) 2021-12-02 20:56:54 +01:00
epenet 0723b1c539
Introduce HassioServiceInfo (#60844)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-02 11:17:54 -08:00
Erik Montnemery 5b8d081441
Teach zone trigger about entity registry ids (#60838) 2021-12-02 10:28:21 -08:00
Erik Montnemery 411b0f0b15
Generate external statistics in demo component (#58470) 2021-12-02 09:55:46 -08:00
J. Nick Koston 8e0ef52cc8
Ensure sonos ssdp callbacks use dataclass methods (#60782) 2021-12-02 09:53:08 -08:00
epenet 0c18d710cc
Use dataclass properties in yamaha_musiccast (#60787)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-02 09:50:35 -08:00
Erik Montnemery 36734972f0
Teach numeric state trigger about entity registry ids (#60835) 2021-12-02 09:45:40 -08:00
Matt 7019c524fa
Add configuration_url to Forecast.Solar integration (#60384)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-12-02 16:36:41 +01:00
Martin Hjelmare c8781bbe3b
Simplify zwave_js USB discovery add-on form (#60845) 2021-12-02 16:30:01 +01:00
Erik Montnemery c85bb27d0d
Teach state trigger about entity registry ids (#60271)
* Teach state trigger about entity registry ids

* Tweak

* Add tests

* Tweak tests

* Fix tests

* Resolve entity ids during config validation

* Update device_triggers

* Fix mistake

* Tweak trigger validator to ensure we don't modify the original config

* Add index from entry id to entry

* Update scaffold

* Pre-compile UUID regex

* Address review comment

* Tweak mock_registry

* Tweak

* Apply suggestion from code review
2021-12-02 14:26:45 +01:00
Matthias Alphart f2f6602890
Add support for Ohmpilots to Fronius integration (#60765)
* add support for Fronius Ohmpilot

* disable the debugger
2021-12-02 11:05:22 +01:00
J. Nick Koston da2fb17d94
Update flux_led for upstream strict typing (#60800)
- Bump library to 0.25.10

- Changelog: https://github.com/Danielhiversen/flux_led/compare/0.25.2...0.25.10

- This is a squashed version of #60554 since that one keeps failing to restore the python env on 3.9
2021-12-02 10:55:06 +01:00
Tobias Sauerwein 653fb5b637
Update Netatmo climate platform (#59974) 2021-12-02 10:31:54 +01:00
Jan Bouwhuis 3307e54363
Add MQTT availability template and encoding (#60470)
* Add MQTT availability template and encoding

* use generic encoding field

* pylint and cleanup

* remove additional topic check
2021-12-02 10:21:31 +01:00
Franck Nijhof 42bae5439b
Add support for Christmas Tree pickup to TwenteMilieu (#60822) 2021-12-02 10:21:19 +01:00
Thomas Dietrich bee3c9102c
Add binary characteristics, add deprecation warning for optional state_characteristic parameter (#60402)
* Add binary source sensor statistics

* Make state_characteristic a required parameter

* Move binary unitless testcase

* Add testcases for binary characteristics

* Revert charact. to optional with deprecation warning

* Correctly check for binary supported characteristic
2021-12-02 09:03:24 +01:00
Franck Nijhof 58fdcfb6b8
Use device/state class enums in DSMR (#60791) 2021-12-01 22:15:17 -05:00
Franck Nijhof 8279873018
Extend entities provided by Tailscale (#60785) 2021-12-01 21:47:10 -05:00
avee87 d0da0eef36
Add day/night markers to MetOffice daily forecast (#58679) 2021-12-01 21:42:59 -05:00
avee87 d066864158
Use precipitation probability in MetOffice forecasts (#58677) 2021-12-01 21:41:28 -05:00
Milan Meulemans 43d8c8fc2d
Use entity category enum in Rituals (#60809) 2021-12-01 21:11:05 -05:00
G Johansson d211dc6e6e
Fix trafikverket_weatherstation (#60772)
* First commit

* Modify test according to fixes

* Review changes

* Clean up

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-02 00:14:42 +01:00
Kevin Stillhammer d1962f6e51
Cleanup here_travel_time tests (#60529) 2021-12-01 21:52:44 +01:00
Joakim Sørensen 737dd6fc26
Add tests to hassio binary_sensor platform (#60609) 2021-12-01 21:41:31 +01:00
J. Nick Koston 4b8a8dda8d
Fix yeelight discovery (#60783)
Regressed in #60640
2021-12-01 15:13:59 -05:00
epenet 1fa0351447
Use dataclass properties in tolo discovery (#60784) 2021-12-01 20:43:33 +01:00
epenet 7a098cff1c
Use dataclass properties in upnp discovery (#60744)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 09:23:38 -10:00
epenet e95914cf60
Use dataclass properties in dlna_dmr discovery (#60693)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 08:59:12 -10:00
epenet a3cccb50c7
Use dataclass properties in tesla_wall_connector discovery (#60741)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 19:39:43 +01:00
epenet 3d5f4e54ea
Use dataclass properties in vicare discovery (#60746)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 19:39:03 +01:00
epenet 4411d51d6f
Use dataclass properties in deconz discovery (#60690)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 19:38:20 +01:00
einarhauks 5c4422dc72
Remove power sensor from Tesla Wall Connector (#60775)
Add voltage and current sensors for each phase
2021-12-01 19:21:56 +01:00
Robert Svensson 8ddfa424c0
Add typing to deCONZ init and config flow (#59999) 2021-12-01 18:59:52 +01:00
Aaron Bach a053c0a106
Bump py17track to 2021.12.1 (#60762) 2021-12-01 18:52:33 +01:00
epenet 5c992ec2cc
Remove cleanup_registry from onewire (#60546)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 18:38:07 +01:00
einarhauks a6ec646f98
Tesla wall connector config flow refactor continued (#60774) 2021-12-01 18:18:42 +01:00
epenet 3eba575fde
Use state class enum for Onewire (#60770)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 17:42:08 +01:00
epenet cd9962dfa0
Use device and state class enum for Renault (#60768)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 17:40:56 +01:00
Milan Meulemans b154f43657
Use device class enum in Rituals (#60767) 2021-12-01 17:34:30 +01:00
epenet 7363033ada
Use device class enum in Onewire (#60766)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 17:33:26 +01:00
Franck Nijhof c985bee1dd
Add sensor platform to Tailscale (#60751)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-01 17:05:44 +01:00
epenet 6caaa5f6bd
Add compatibility tests for MqttServiceInfo (#60754)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 17:04:49 +01:00
epenet 2fe0382841
Add compatibility tests for UsbServiceInfo (#60753)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 05:43:31 -10:00
epenet 7f355681a7
Add compatibility tests for DhcpServiceInfo (#60752)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 05:43:09 -10:00
einarhauks e7f00c2c4f
Refactor Tesla wall connector config flow (#60755) 2021-12-01 16:07:24 +01:00
Marcel van der Veldt 5d0cf4cb95
Fix tests for Hue integration (#60683)
* fix tests

make sure the migration code is not called in all other tests

* only patch v2 check where needed
2021-12-01 14:53:30 +01:00
Franck Nijhof 6a8c732b37
Add Tailscale integration (#59764)
* Add Tailscale integration

* Use DeviceEntryType

* Fix tests

* Adjust to new Pylint version

* Use enums for device classes

* Update homeassistant/components/tailscale/config_flow.py

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

* Pass empty string as default

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-01 14:40:38 +01:00
Paulus Schoutsen 72d8882c79
Handle errors response to be None (#60679)
Co-authored-by: Philip Allgaier <mail@spacegaier.de>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-12-01 13:51:10 +01:00
epenet cbab0ba9c0
Drop base ATTR constants in zeroconf (#60561)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 12:29:41 +01:00
Raman Gupta eeafa36abc
Add SmartStart provisioning support to zwave_js WS API (#59037)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-01 11:43:51 +01:00
Joakim Sørensen bbd179200c
Use device class enum in UptimeRobot (#60688) 2021-12-01 10:36:15 +01:00
Franck Nijhof 79ebc1b79a
Use device class enums in TwenteMilieu (#60686) 2021-12-01 10:25:26 +01:00
Franck Nijhof 74f7f28f1c
Use device class enums in WLED (#60684) 2021-12-01 10:16:44 +01:00
epenet 73a4dba2ae
Use dataclass properties in yeelight discovery (#60640)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 22:28:19 -10:00
Kevin Worrel 8240b8c72e
Update screenlogic use asyncio API (#60466)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-11-30 22:19:01 -10:00
Teemu R 908b7ca9c2
Bump xiaomi_miio dependency (#60650) 2021-12-01 08:08:59 +01:00
Franck Nijhof 9715601255
Add button device classes to NAM (#60621) 2021-12-01 07:08:17 +01:00
G Johansson 51ebfade52
Fix ADR 0003 issues in trafikverket_weatherstation (#60664)
* Fix ADR 0003 issues

* Remove commented code
2021-11-30 22:54:10 +01:00
epenet 8954609f6b
Use dataclass properties in axis discovery (#60558)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 10:15:34 -10:00
G Johansson 11b81ef88b
Config flow for trafikverket_weatherstation (#60078)
* First commit

* Added tests

* Add requirements for test

* Correction requirements tests

* Add init to untested files

* Fix review comments

* Resolve last items from review

* Add sync_abort_entries_match in import flow
2021-11-30 19:53:41 +01:00
Marcel van der Veldt 19b4cc7119
Hue handle device update (#60612) 2021-11-30 10:14:51 -08:00
epenet be89c07cac
Use dataclass properties in nanoleaf discovery (#60580)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 06:05:50 -10:00
Tim Rightnour 8a9f197918
Binary sensor platform for the Balboa Spa (#60409) 2021-11-30 06:04:24 -10:00
epenet d75785d701
Use dataclass properties in hue discovery (#60598)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 16:36:35 +01:00
Allen Porter a84b12abe7
Revert "Add an entity service for saving nest event related snapshots" (#60632) 2021-11-30 16:16:00 +01:00
Jc2k b8a1899d48
Remove homekit_controller's air quality entity in favor of separate sensor entities (#60480) 2021-11-30 16:14:49 +01:00
Franck Nijhof 16462df451
Add button device classes to MQTT (#60628) 2021-11-30 16:08:02 +01:00