Commit Graph

10212 Commits (231d434b760097ac142da3968892ce034e5d0f38)

Author SHA1 Message Date
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
Erik Montnemery 17dc609363
Correct validation of conditions in scripts and automations (#60890)
* Correct validation of conditions in scripts and automations

* Fix test
2021-12-03 09:08:28 -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
Marvin Wichmann 707fe67c00
Move StrEnum to homeassistant.backports and move Platform to homeassistant.const (#60880)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-12-03 09:31:17 +01:00
Jan Bouwhuis 3188a364e2
Add template filters pack and unpack (#60836)
* add pack and unpack template filters

* Add unpack test with offset

* use unpack_from

* Simplify unpack_from statement
2021-12-03 08:58:15 +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
Erik Montnemery a07f75c6b0
Revert "Allow template int filter to render from a bytes based integer" (#60855) 2021-12-02 14:37:19 -08:00
Franck Nijhof 3c66706a49
Clean up deprecated sanitize_filename and sanitize_path (#60859) 2021-12-02 15:35:11 -05: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
Ville Skyttä 4107063a5a
Make entity registry disabled_by an enum (#60424) 2021-12-02 18:02:29 +01: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
Joakim Plate c54ca7941f
Make sure entity inherit disabled device (#60469) 2021-12-01 13:59:57 -08:00
Kevin Stillhammer d1962f6e51
Cleanup here_travel_time tests (#60529) 2021-12-01 21:52:44 +01:00