Commit Graph

41539 Commits

Author SHA1 Message Date
Raman Gupta edd068d6eb
Add explicit unit mapping for zwave_js meters and sensors (#59659)
* Add explicit unit mapping for zwave_js meters and sensors

* review comment

* fix

* alternate approach
2021-11-17 12:26:32 -05:00
Philip Allgaier 5ae311b111
Fix invalid string syntax in OwnTracks config flow translations (#59838) 2021-11-17 16:05:50 +01:00
starkillerOG cac54d8e39
bump motionblinds to 0.5.8 (#59834) 2021-11-17 15:26:23 +01:00
Robert Svensson 569d596799
Add typing to deCONZ Lock and Logbook platforms (#59605) 2021-11-17 15:22:59 +01:00
Robert Svensson 0339761e72
Add typing to deCONZ Number and Sensor platforms (#59604) 2021-11-17 15:11:51 +01:00
Robert Svensson 29e0ef604e
Add typing to deCONZ Climate and Cover platforms (#59610) 2021-11-17 15:08:37 +01:00
Joakim Sørensen edbe54c346
Prefer YAML config mode in Lovelace system_health (#59835) 2021-11-17 14:47:22 +01:00
Martin Hjelmare b6dea3c6cb
Add more zwave_js binary sensor descriptions (#59474) 2021-11-17 12:53:44 +01:00
Thomas Dietrich 0ab3b10aed
Allow selection of statistics state characteristic (#49960)
* Make statistics state characteristic selectable

* Move computation in helper function

* Add relevant config elements for clarity

* Rename variables for better readability

* Avoid reserved prefix ATTR_ for stats

* Fix NoneType base_unit error

* Add testcases for statistics characteristic

* Add testcases for state_class, unitless, and characteristics

* Add testcase coverage for no unit with binary

* Replace error catching by an exception

* Attend to review comments
2021-11-17 12:31:32 +01:00
Raman Gupta 0f64e7036f
Bump zwave-js-server-python to 0.32.0 (#59727) 2021-11-17 11:56:48 +01:00
starkillerOG 3a7a4e8ffc
Fix Netgear init error on orbi models (#59799)
* fix Netgear init error on orbi models

* Update sensor.py
2021-11-17 11:49:12 +01:00
René Klomp ac96c7bb1f
Move creation of DeviceInfo outside try statement in SMA (#59821) 2021-11-17 11:28:18 +01:00
Franck Nijhof 5133269e2b
Upgrade black to 21.11b0 (#59823) 2021-11-17 11:19:09 +01:00
Maikel Punie 7e5316eb86
Bump velbusaio to 2021.11.7 (#59817) 2021-11-17 10:15:19 +01:00
Erik Montnemery dec54488e8
Enable basic type checking for cloud (#55337)
* Enable basic type checking for cloud

* Update mypy settings

* Address review comment

* Fix rebase mistakes

* Correct decorator order
2021-11-17 09:07:01 +01:00
Erik Montnemery 593bc866f0
Bump pychromecast to 10.1.0 (#59719)
* Prepare for pychromecast 10

* Bump pychromecast to 10.0.0

* Bump pychromecast to 10.1.0

* Update homeassistant/components/cast/discovery.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-17 09:05:25 +01:00
Dermot Duffy a88469ec74
Bump motioneye-client to v0.3.12 (#59811) 2021-11-17 08:29:59 +01:00
Kilian Lackhove a4826f4b69
Fix deCONZ climate offset display if offset is zero (#59803) 2021-11-17 07:29:37 +01:00
René Klomp a68563cefd
Add `configuration_url` to SMA integration (#59638) 2021-11-16 20:10:41 -06:00
epenet 7f07755f5c
Use ZeroconfServiceInfo in enphase-envoy (#59738)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-16 17:45:03 -07:00
GitHub Action b82fac1a73 [ci skip] Translation update 2021-11-17 00:13:20 +00:00
Milan Meulemans f8501ded0e
Add entity_category to Rituals Entities (#59756) 2021-11-16 14:37:28 -06:00
Marcel van der Veldt e1e6925097
Refactor of Hue integration with full V2 support (#58996)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-11-16 11:59:17 -08:00
Robert Svensson 4642a70651
Add typing to deCONZ Alarm Control Panel and Binary Sensor platforms (#59611)
* Add typing to deCONZ Alarm Control Panel and Binary Sensor platforms

* Address review comments

* Don't use asserts, use # type: ignore[no-any-return]

* Improve lazy typing of dict
2021-11-16 20:01:10 +01:00
Franck Nijhof 9faf3996db
Add WLED firmware upgrade button (#59793) 2021-11-16 19:58:04 +01:00
Simone Chemelli 06d35853b6
Fix typo in attribute for Fritz (#59791) 2021-11-16 19:30:50 +01:00
epenet 0dcfd55c84
Adjust async_step_usb signature for strict typing (#59773)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-16 19:03:50 +01:00
Joakim Plate f0b3fbc5a7
Always fire event for known devices in rfxtrx (#58845) 2021-11-16 19:03:18 +01:00
Robert Svensson c7c1d6000f
Add type hints to Siren and Switch deCONZ platforms (#59602)
* Add typing to Siren and Switch deCONZ platforms

* Update homeassistant/components/deconz/switch.py

Co-authored-by: Matthias Alphart <farmio@alphart.net>

* Update homeassistant/components/deconz/switch.py

Co-authored-by: Matthias Alphart <farmio@alphart.net>

* Update homeassistant/components/deconz/switch.py

Co-authored-by: Matthias Alphart <farmio@alphart.net>

* Update homeassistant/components/deconz/siren.py

Co-authored-by: Matthias Alphart <farmio@alphart.net>

* Update homeassistant/components/deconz/siren.py

Co-authored-by: Matthias Alphart <farmio@alphart.net>

* Add Any import

* Update homeassistant/components/deconz/siren.py

Co-authored-by: Matthias Alphart <farmio@alphart.net>

Co-authored-by: Matthias Alphart <farmio@alphart.net>
2021-11-16 17:25:56 +01:00
Robert Hillis 16027b9f43
Fix mqtt undefined error (#59787) 2021-11-16 17:16:24 +01:00
Erik Montnemery fa952364cc
Remove test_check_package_version_does_not_match (#59785) 2021-11-16 07:54:08 -08:00
Robert Hillis 14adcbc07c
Add tests for goalzero (#59446)
* Add tests for goalzero

* tweak

* tweak
2021-11-16 07:18:30 -08:00
Khole e9c8de25df
Add Hive Alarm Support (#59670)
* Add alarm support

* Update code coverage

* Update homeassistant/components/hive/alarm_control_panel.py

Co-authored-by: Allen Porter <allen.porter@gmail.com>

* Add alarm support

* Update code coverage

* Update homeassistant/components/hive/alarm_control_panel.py

Co-authored-by: Allen Porter <allen.porter@gmail.com>

* Update icon and device info

Co-authored-by: Allen Porter <allen.porter@gmail.com>
2021-11-16 07:18:09 -08:00
David Beitey 1bcd62cd32
Add topic_template for mqtt.publish (#53743)
Co-authored-by: Erik Montnemery <erik@montnemery.com>

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-11-16 16:13:54 +01:00
Simone Chemelli 8a02d87a17
Removed deprecated "device_state_attributes" for Amberelectric (#59672)
* Removed deprecated "device_state_attributes"

* Cleanup

* Postpone removal

* log deprecation warning

* Update homeassistant/helpers/entity.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-11-16 16:11:46 +01:00
epenet 4387bbfb94
Adjust async_step_mqtt signature for strict typing (#59761)
* Add MqttServiceInfo

* Adjust async_step_mqtt signature

* Adjust async_step_mqtt signature

* Adjust components

Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-16 13:30:38 +01:00
Maciej Bieniek f1d75f0dd7
Use source list property instead of the attribute in Denon AVR integration (#59768) 2021-11-16 12:40:54 +01:00
Robert Svensson 41e341028e
Add typing to deCONZ Fan and Light platforms (#59607) 2021-11-16 12:39:51 +01:00
epenet 476a59d248
Adjust async_step_dhcp signature for strict typing (#59751)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-16 12:19:50 +01:00
Aaron Bach a78176e192
Perform some Ambient PWS code cleanup (#58859)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-11-16 11:56:17 +01:00
epenet cca3cdb096
Use ZeroconfServiceInfo in bosch_shc (#58957)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-16 11:40:49 +01:00
Erik Montnemery 4f01631bd6
Allow triggering on all state changes, ignoring attributes (#59713)
* Allow triggering on all state changes, ignoring attributes

* Add comment

* Apply suggestions from code review

Co-authored-by: Franck Nijhof <git@frenck.dev>

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-11-16 08:35:52 +01:00
Franck Nijhof 9256a033a6
Upgrade spotipy to 2.19.0 (#59728) 2021-11-16 02:23:59 +01:00
Michael 771922b871
Add support for property attribute shorthand in Fan entity (#59649) 2021-11-16 01:25:22 +01:00
GitHub Action 0228d11546 [ci skip] Translation update 2021-11-16 00:18:33 +00:00
epenet 4d96ca3ddb
Adjust async_step_homekit signature for strict typing (#59745)
* Use ZeroconfServiceInfo in async_step_homekit

* Update DiscoveryFlowHandler

* Update components
2021-11-15 17:27:04 -06:00
Matthias Alphart c0a8cea6fb
Fix KNX individual light tests (#59749) 2021-11-16 00:02:39 +01:00
Philip Allgaier 646c996b42
Fix invalid string syntax in French OwnTracks config flow (#59752) 2021-11-15 14:30:48 -08:00
Aaron Bach ce3f918c2c
Fix bug in AirVisual re-auth (#59685) 2021-11-15 14:30:26 -08:00
epenet 1bd2d3c69e
Use ZeroconfServiceInfo in freebox (#59739)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 23:13:48 +01:00