Commit Graph

26968 Commits (2a65c5f93cbd8f448953657ba9196df0652f3c3d)

Author SHA1 Message Date
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
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