Commit Graph

29331 Commits (9753500f5eaff7354b218a405d34a43edc904c4e)

Author SHA1 Message Date
Joakim Plate 8a7cb389ed
Drop support for fan speeds and support reverse (#53105) 2021-07-20 22:07:15 -07:00
J. Nick Koston fe89603ee7
Update homekit lock to support locking, unlocking, jammed (#52819) 2021-07-20 21:55:19 -07:00
J. Nick Koston 564a505486
Update homekit controller lock to support locking, unlocking, jammed (#52821) 2021-07-20 23:55:04 -05:00
J. Nick Koston ee242764a1
Update template lock to support locking, unlocking, jammed (#52817) 2021-07-20 21:50:21 -07:00
J. Nick Koston 5d85983b09
Update google assistant locks to support locking, unlocking, jammed (#52820) 2021-07-20 23:49:05 -05:00
J. Nick Koston bfe3ef0980
Update august to support locking, unlocking, jammed (#52814) 2021-07-20 21:48:15 -07:00
J. Nick Koston 0ce071e0a4
Bump httpx to 0.18.2 (#53257) 2021-07-20 21:47:13 -07:00
J. Nick Koston f20602e11d
Auto recreate HomeKit TVs when the sources are out of sync (#53208) 2021-07-20 21:46:39 -07:00
J. Nick Koston 2a65c5f93c
Recreate HomeKit accessories when calling the reset_accessory service (#53199) 2021-07-20 21:45:21 -07:00
J. Nick Koston 4d122fc366
Update alexa lock to support locking, unlocking, jammed (#52841) 2021-07-20 23:21:05 -05:00
jan iversen 8f61efe714
Correct typing in edl21 and activate mypy. (#53188) 2021-07-20 21:53:56 -05:00
Aaron Bach 56efee4603
Ensure Ambient PWS is strictly typed (#53251)
* Ensure Ambient PWS is strictly typed

* Fix typing
2021-07-20 21:52:05 -05:00
Nathan Spencer 9d3bc0632f
Bump pylitterbot to 2021.7.2 (#53254)
* Bump pylitterbot to 2021.7.1

* Bump pylitterbot dependency to 2021.7.2 which unpins Authlib and httpx dependencies
2021-07-20 15:47:37 -10:00
Steven Looman 72bc748081
Avoid supplemental discovery of ignored upnp entry (#53250) 2021-07-20 15:46:33 -10:00
GitHub Action 9d93f8b6d1 [ci skip] Translation update 2021-07-21 00:11:58 +00:00
Brett 6ee82e1031
Advantage Air add zone temperature sensors (#51941)
* Create AdvantageAirZoneTemp

* Disable by default

* Add test coverage

* add state_class

* Use entity class attributes

* Match code style of PR #52498
2021-07-20 19:38:50 -04:00
Aaron Bach 0fd88e7e66
Type _attr_extra_state_attributes as a MutableMapping (#52616)
* Type extra_state_attributes as a MutableMapping

* Update homeassistant/helpers/entity.py

Co-authored-by: Ruslan Sayfutdinov <ruslan@sayfutdinov.com>

* Update homeassistant/helpers/entity.py

Co-authored-by: Ruslan Sayfutdinov <ruslan@sayfutdinov.com>
2021-07-20 15:41:03 -06:00
jtitley 0b8b45818d
Update BlinkStick to 1.2.0 (#52244)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-20 22:57:47 +02:00
Robert Hillis a9b9c4f13c
Add extra state attributes to goalzero (#52932)
* Add extra state attributes to goalzero

* tweak
2021-07-20 22:26:52 +02:00
Franck Nijhof 059a9bc8ed
Fix modbus setting string as temperature in climate platform (#53249) 2021-07-20 22:03:10 +02:00
web-dc 034251f006
Update requirement of homematicip_cloud component to v1.0.1 (#51407)
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Sascha Schiegg <s.schiegg@s-schiegg.com>
2021-07-20 20:28:43 +02:00
PeteRager 5ccbac5ff6
Fix alert infinite loop on repeat interval of 0 (#52628)
* #4851 - Infinite loop on repeat interval of 0

Notification will enter an infinite loop when the repeat interval is specified as zero and it is the last repeat configured.  When this occurs avoid the infinite loop and log a warning message.  Note: I encountered this issue when routing SMS to Twilio and quickly sent thousands of text messages.

* Update __init__.py

* Remove runtime check since configuration input is now blocked

* Tweak comment

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-20 20:23:22 +02:00
jjlawren a2fbc4218d
Cleanup regroup handling in Sonos (#53241)
Check event before creating coroutine
Remove unnecessary regrouping dispatcher
Update typing to reflect actual behavior
Add optimizations for polling mode
2021-07-20 20:21:48 +02:00
jan iversen 8c43e5c736
Correct set_temperature in modbus climate (#52923) 2021-07-20 20:19:26 +02:00
Daniel Hjelseth Høyer a14bde8187
Melcloud use NamedTuple (#53234)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-07-20 20:18:09 +02:00
Marc Mueller 6be30b0289
Use unit constants (#53244)
* Powerwall - use POWER_KILO_WATT constant

* Use constants firtz sensor
2021-07-20 20:08:39 +02:00
Daniel Hjelseth Høyer a05392fbf2
Tibber, remove yaml support (#53235) 2021-07-20 20:07:06 +02:00
Marc Mueller 074d762664
Rename and reorganize electric unit constants (#53243) 2021-07-20 20:06:23 +02:00
Raman Gupta 6e88428f95
Fix typing for climacell dataclass (#53240) 2021-07-20 19:31:55 +02:00
Daniel Hjelseth Høyer 165e1917ea
Address late review of Ambiclimate, code clean up (#53231)
* Ambiclimate, code clean up

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Update homeassistant/components/ambiclimate/climate.py

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

* Update homeassistant/components/ambiclimate/climate.py

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

* Update homeassistant/components/ambiclimate/config_flow.py

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

* Update homeassistant/components/ambiclimate/climate.py

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

* import

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-20 18:57:40 +02:00
Paulus Schoutsen 1ed7b00b71
Add last reset and state class to rainforest eagle (#52951) 2021-07-20 18:39:14 +02:00
Simone Chemelli 1746103e0e
Add friendly name to Fritz profile switches (#53190) 2021-07-20 18:38:16 +02:00
jan iversen 193d1b945b
Add typing in dynalite and activate mypy (#53238)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-20 18:28:31 +02:00
J. Nick Koston 9b705ad6df
Update lock entity to support locking, unlocking, jammed (#51455) 2021-07-20 18:12:56 +02:00
Daniel Hjelseth Høyer 0cc4231ac2
Tibber use dataclass (#53233)
* Tibber, use dataclass

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Tibber, use dataclass

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-07-20 17:57:35 +02:00
Daniel Hjelseth Høyer 2b9b346a28
Address late review of Co2 signal (#53232) 2021-07-20 17:52:22 +02:00
Allen Porter 1fe2d0f9c8
Address style issues in nest typing (#53236)
* Add additional types for config flow

Fixing style errors introduced by partial typing in pr #53214

* Address typing style errors

Make all functions fully typed, follow up to pr #53214
2021-07-20 17:41:48 +02:00
jan iversen f819be7acc
Correct typing in Insteon and activate mypy (#53222) 2021-07-20 17:26:00 +02:00
Marc Mueller c578541a82
Add new electrical unit constants (mV + mA) (#53158) 2021-07-20 15:57:11 +02:00
Robert Hillis 08f03c95d2
Use entity class attributes for Brunt (#53164) 2021-07-20 14:18:09 +02:00
Marc Mueller a56485a8c5
Revert new unit types (#53226) 2021-07-20 14:13:51 +02:00
Franck Nijhof b4a50f5459
Add unique ID support to light, cover and media player groups (#53225) 2021-07-20 13:56:23 +02:00
jan iversen 51dd95ce35
Review comments on earlier merge. (#53221) 2021-07-20 13:00:07 +02:00
Daniel Hjelseth Høyer d17776af87
Tibber, accumulated reward (#53195)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-07-20 12:28:50 +02:00
Robert Hillis 79a418f1bc
Use entity class attributes for Brottsplatskartan (#53163) 2021-07-20 12:20:56 +02:00
Marc Mueller 5d2ce19746
Update python-typing-update to v0.3.5 (#53223)
* Update python-typing-update to 0.3.5

* Update typing
2021-07-20 11:31:48 +02:00
Robert Hillis cd37c2492b
Use entity class attributes for acer_projector (#52432)
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2021-07-20 11:13:59 +02:00
Raman Gupta 05fa220703
Add support for options in zwave_js.set_value service (#53212) 2021-07-20 10:31:12 +02:00
jan iversen e7ccd1a549
Correct typing and activate mypy. (#53217) 2021-07-20 10:53:24 +03:00
Eric Severance ab36ac7a94
Handle all WeMo ensure_long_press_virtual_device exceptions (#53094)
* Handle all exceptions around the WeMo ensure_long_press_virtual_device method

* Don't use a bare exception

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

* Log exception

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-07-20 09:20:47 +02:00
Alexei Chetroi c9ae141eab
Mark ZHA Light methods as a callbacks (#53170)
* ZHA Light.set_level is safe to run in the loop

* Fix tests.
2021-07-20 09:33:45 +03:00
Kyle Niewiada 7659197154
Increase interval to stop Connection reset by peer (#53202) 2021-07-20 08:15:11 +02:00
Allen Porter c2a2f50316
mypy cleanup for homeassistant.components.nest (#53214) 2021-07-20 07:59:31 +02:00
jan iversen 78a8ba99f9
Upgrade modbus to quality level "silver". (#53186) 2021-07-19 23:57:28 -05:00
jan iversen 19a282255b
Remove duplicate functions in modbus climate/sensor. (#53141)
Convert all data types correctly for climate.
2021-07-19 23:52:58 -05:00
Simone Chemelli 18bc2f95c8
Small log addition for samsungtv (#53206) 2021-07-19 23:41:30 -05:00
Matthias Alphart e8d7952880
Refactor KNX tests (#53183)
* refactor tests for KNX

- implement KNXTestKit class for convenient setup and assertion of KNX telegrams
- add fixture returning an instance of KNXTestKit with automatic cleanup test

* add tests for expose default attribute

- fix expose edge case not covered by #53046

* use asyncio.Queue instead of AsyncMock.call_args_list

for better readability

* get xknx from Mock instead of hass.data

* fix type annotations

* add injection methods for incoming telegrams

* rest read-response in expose
2021-07-19 23:39:19 -05:00
Daniel Hjelseth Høyer f0b28c90bf
Co2signal configflow (#53193)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-07-19 21:30:00 -07:00
Raman Gupta 562aa74c77
Switch to dataclass from dictionary for climacell sensor definitions (#53168)
* Switch to dataclass from dictionary for climacell sensor definitions

* fix post_init

* fix dataclass and add test

* Update homeassistant/components/climacell/sensor.py

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>

* Update homeassistant/components/climacell/const.py

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>

* simplify logic

* use tuple

* simplify unit of measurement and use class attributes

* Switch from UnitT to str

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-07-20 00:22:41 -04:00
Marc Mueller 7711ac901c
Fix issues after pylint update (#53205) 2021-07-19 20:22:13 -07:00
GitHub Action ac9e4cb2f2 [ci skip] Translation update 2021-07-20 00:11:11 +00:00
RDFurman 450fdc91e4
Add honeywell config flow (#50731)
* Upgrade honeywell from platform to integration

* Add codeowner and run code formatter

* Add sensors for current indoor temp and humidity

* Fix tests and away temp

* Spring cleaning of honeywell tests

* Add config flow to honeywell integration

* Add config flow test

* Tie in honeywell service update

* Simplify config flow and add import

* Remove unnecessary platform schema

* Clean up based on PR comments

* Use new helper method

* Force single device and fix linter errors

* Address PR feedback

* Update translations

* Change string key and remove logger message

* Always add first device

* Fix test assertion

* Put PLATFORM_SCHEMA back

* Skip code coverage check on honeywell init

* add some tests for honeywell

* Make retry async

* Make device private

* Use _attr_ instead of properties

* Code cleanup from PR feedback

* Fix test and cleanup code

* Make description better

Co-authored-by: Matt Zimmerman <mdz@alcor.net>
2021-07-19 09:44:02 -10:00
Robert Hillis f5b3118d3c
Use entity class attributes for buienradar (#53166) 2021-07-19 21:22:20 +02:00
Robert Hillis 8527179c0e
Use entity class attributes for bme280 (#53035)
* Use entity class attributes for bme280

* add back device class oops

* tweak
2021-07-19 22:19:36 +03:00
Michael 1b478ba02e
Remove yaml support from Synology DSM (#53197) 2021-07-19 19:39:32 +02:00
jan iversen d4589894fe
Correct typing in bsblan and activate mypy (#53153) 2021-07-19 19:30:52 +02:00
Franck Nijhof 3d40fdf2c6
Upgrade holidays to 0.11.2 (#53191) 2021-07-19 19:01:19 +02:00
Franck Nijhof 8743a03f14
Upgrade numpy to 1.21.1 (#53194) 2021-07-19 19:00:37 +02:00
Robert Hillis 3c6f0d11a6
Use entity class attributes for Citybikes (#53167)
* Use entity class attributes for citybikes

* tweak
2021-07-19 18:02:09 +02:00
Aaron Bach bf4ca2d68d
Modify AirVisual states to be translatable (#53133)
* Modify AirVisual states to be translatable

* Make constant names consistent
2021-07-19 18:01:36 +02:00
Robert Hillis 019568869d
Use entity class attributes for avea (#52695)
* Use entity class attributes for avea

* fix pylint

* redo brightness

* redo brightness
2021-07-19 17:50:26 +02:00
jan iversen 0b60b86917
Correct typing in azure_devops and activate mypy (#53152)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-07-19 17:45:03 +02:00
Clifford Roche 327208c943
Bugfix current temperature in gree climate (#53149)
* Bugfix current temperature gree climate

* Retry build

* Update from the review
2021-07-19 17:07:15 +02:00
Marc Mueller f6b162bc39
Add pylint CodeStyle extension (#53147) 2021-07-19 06:57:06 -07:00
Marc Mueller c35b5a1c64
Add sound pressure unit constants (dB + dBa) (#53159) 2021-07-19 06:54:38 -07:00
Shay Levy ea6e325762
Add Switcher config flow discovery support (#52316) 2021-07-19 06:28:40 -07:00
jan iversen 51d16202ab
Correct typing in control4 and activate mypy (#53156)
* Correct typing and activate mypy.

* Review comments.:wq
2021-07-19 14:14:09 +02:00
jan iversen 78ef02f4d9
Allow pymodbus to reconnect in running system (not startup) (#53020)
Allow pymodbus to reconnect (not during startup).
2021-07-19 13:01:50 +02:00
J. Nick Koston 12b29e2895
Bump zeroconf to 0.33.1 (#53179) 2021-07-19 12:10:32 +02:00
J. Nick Koston 671e838085
Execute scripts from HomeKit (#53106) 2021-07-19 12:07:12 +02:00
J. Nick Koston f51cb110d3
Run pyupgrade on homekit config_flow (#53180)
- The original PR was run though the CI before the new pyupgrade
2021-07-18 23:33:08 -10:00
Arto Jantunen bf0b19b05e
Add CO2 and efficiency sensors to Vallox (#48923)
* Add Vallox efficiency sensor

* Add Vallox CO2 sensor

* Use the CO2 device class for the Vallox CO2 sensor
2021-07-19 10:56:26 +02:00
Robert Svensson d12110556f
More restrictive state updates of UniFi uptime sensor (#53111)
* More restrictive state updates of uptime sensor

* Remove commented out old version of uptime test
2021-07-19 10:54:31 +02:00
Allen Porter 3cff15ae2f
Bump google-nest-sdm to 0.3.0 (#53172)
The primary update is to have additional static type checking with mypy
2021-07-19 10:50:22 +02:00
Ville Skyttä 470f2dd73f
Upgrade pyupgrade to 2.21.2, apply its changes (#52987) 2021-07-19 10:46:09 +02:00
Robert Svensson c96f01df1f
Fix groups reporting incorrect supported color modes (#53088) 2021-07-19 10:32:21 +02:00
J. Nick Koston bf831267cf
Bump zeroconf to 0.33.0 (#53174)
- Changelog: https://github.com/jstasiak/python-zeroconf/compare/0.32.1...0.33.0
2021-07-19 10:22:12 +02:00
jan iversen 235f4476e8
Please mypy. (#53142) 2021-07-19 08:29:26 +02:00
J. Nick Koston f24576b08d
Show the name of the domain in HomeKit when selecting to include (#53169) 2021-07-18 17:55:56 -10:00
Brett eeb01e638a
Add _attr_state_class (#52815) 2021-07-18 20:03:46 -05:00
GitHub Action 531733da7b [ci skip] Translation update 2021-07-19 00:09:50 +00:00
Roman Shtylman cb6f9878c4
Update pylutron-caseta to 0.11.0 (#53160) 2021-07-18 13:07:38 -10:00
Robert Hillis c5fe01a466
Use entity class attributes for blinkt (#52893)
* Use entity class attributes for blinkt

* tweak

* tweak

* remove redundant properties
2021-07-18 17:21:40 -04:00
Robert Hillis 73976d2a26
Use entity class attributes for Blink (#52891)
* Use entity class attributes for blink

* rework

* revert extra state attributes
2021-07-18 17:21:12 -04:00
Robert Hillis 0cf95bb0c2
Use entity class attributes for arwn (#52683) 2021-07-18 17:19:25 -04:00
jgriff2 bacb6c6b14
Fix remote rpi gpio input type (#53108)
* Fix issue #45770 - Change sensor from Button to DigitalInput

* Change references from button to sensor
2021-07-18 17:13:13 -04:00
Aaron Bach a8ea214f2e
Bump simplisafe-python to 11.0.2 (#53121)
* Bump simplisafe-python to 11.0.2

* Fix CI
2021-07-18 17:12:05 -04:00
J. Nick Koston 236738c455
Add support for tilt only covers to HomeKit (#53130) 2021-07-18 10:17:58 -10:00
Robert Hillis cb1eab6c24
Use entity class attributes for bosch_shc (#53057) 2021-07-18 15:10:42 -05:00
Clifford Roche 56d66434b3
Bump greeclimate to 0.11.8 (#53148) 2021-07-18 14:51:02 -05:00