Commit Graph

38258 Commits (6de6a5dc141c433a1f4761ccb052bbd37115f746)

Author SHA1 Message Date
Erik Montnemery 6de6a5dc14
Move temperature conversions to sensor base class (3/8) (#54469)
* Move temperature conversions to entity base class (3/8)

* Fix FritzBox sensor

* Fix tests
2021-08-12 14:23:56 +02:00
Erik Montnemery 103e21c278
Move temperature conversions to sensor base class (5/8) (#54475) 2021-08-12 13:26:17 +02:00
Daniel Hjelseth Høyer e55868b17f
Use entity class attributes for Adax (#54501)
* Adax attributes

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

* Adax attributes

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

* Update homeassistant/components/adax/climate.py

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>

* style

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

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2021-08-12 12:38:33 +02:00
Daniel Hjelseth Høyer 49a69d5ba0
Add missing PRESSURE_BAR conversion (#54497)
* Add missing PRESSURE_BAR

* style

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

* valid units

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-08-12 07:30:35 +02:00
ehendrix23 c040be423a
Updates to bump MyQ to 3.1.2 (#54488) 2021-08-11 22:17:25 -05:00
GitHub Action 0626542a14 [ci skip] Translation update 2021-08-12 00:14:10 +00:00
Franck Nijhof f77187d28a
Deprecate Wink integration (#54496) 2021-08-11 18:16:28 -04:00
Marc Mueller b411372872
Use EntityDescription - blink (#54360) 2021-08-11 13:41:51 -07:00
Niels Mündler 539ed56000
Refactor Fronius sensor device class and long term statistics (#54185) 2021-08-11 13:40:04 -07:00
Erik Montnemery 2720ba2753
Move temperature conversions to sensor base class (4/8) (#54472)
* Move temperature conversions to entity base class (4/8)

* Fix litterrobot sensor

* Fix tests
2021-08-11 21:17:47 +02:00
Erik Montnemery ae507aeed1
Move temperature conversions to sensor base class (8/8) (#54483)
* Move temperature conversions to entity base class (8/8)

* Fix wallbox sensor

* Fix tests
2021-08-11 21:17:16 +02:00
Bram Kragten e23750b2a4
Add device class `gas` and enable statistics for it (#54110)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-08-11 09:58:19 -07:00
Erik Montnemery 94a264afaf
Move temperature conversions to entity base class (7/8) (#54482) 2021-08-11 18:57:50 +02:00
Erik Montnemery 41f3c2766c
Move temperature conversions to entity base class (2/8) (#54468) 2021-08-11 18:57:12 +02:00
Bram Kragten f020d65416
Add battery support to energy (#54432) 2021-08-11 09:49:56 -07:00
Aaron Bach 98a4e6a7e8
Fix possible unhandled IQVIA exception with allergy outlook data (#54477)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2021-08-11 09:12:49 -07:00
Franck Nijhof d6483f2f36
Upgrade isort to 5.9.3 (#54481) 2021-08-11 09:01:45 -07:00
Marc Mueller 6f70302901
Fix arlo platform schema (#54470) 2021-08-11 08:57:56 -07:00
Martin Hjelmare 028a3d3e53
Complete mysensors sensor coverage (#54471) 2021-08-11 17:19:02 +02:00
J. Nick Koston 1e14b3a0ac
Ensure camera handles non-jpeg image sources correctly (#54474) 2021-08-11 08:12:46 -07:00
Franck Nijhof 13c34d646f
Remove empty currency from discovery info (#54478) 2021-08-11 08:09:16 -07:00
Phil Cole cb26f334c3
Use pycarwings2 2.11 (#54424) 2021-08-11 16:34:36 +02:00
Robert Hillis b1fc05413a
Bump notifications-android-tv to 0.1.3 (#54462)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-11 16:13:38 +02:00
Michael 6285c7775b
Use SensorEntityDescription and set state class measurement for NUT sensors (#54269) 2021-08-11 08:56:41 -05:00
jan iversen 4ef9269790
Replace prepare_service_call with a simpler fixture in modbus (#53975)
* Convert prepare_service_call to a fixture.
2021-08-11 12:42:28 +02:00
Felix 4d93184197
Strip attributes whitespace in universal media_player (#54451)
When using whitespace in attributes the lookup of the state attribute fails because an entity with whitespace in its name cannot be found.

Works:
entity_id|state_attribute

Does not work:
entity_id | state_attribute

Fixes #53804
2021-08-11 12:17:12 +02:00
Ville Skyttä bc417162cf
Fix Huawei LTE entity state updating (#54447)
Since 91a2b96, we no longer key this by the router URL, but the relevant
config entry unique id.

Closes https://github.com/home-assistant/core/issues/54243
2021-08-11 11:50:17 +02:00
Joakim Sørensen 2f5c3c08ef
Use monitor name for uptimerobot device registry (#54456) 2021-08-11 11:27:41 +02:00
jan iversen 2d669a4613
Remove legacy code. (#54452) 2021-08-11 11:07:04 +02:00
Erik Montnemery 4e07ab1b32
Move temperature conversions to sensor base class (1/8) (#48261)
* Move temperature conversions to entity base class (1/8)

* Update integrations a-c

* Leave old temperature conversion until all integrations are migrated

* tweak

* Use contextlib.suppress

* Remove the MeasurableUnitEntity mixin

* Address comments, add tests

* Fix f-string

* Drop deprecation warning from base entity class

* Update with _attr-shorthand

* Fix rebase mistakes

* Fix additional rebase mistakes

* Only report temperature conversion once

* Fix additional rebase mistakes

* Format homeassistant/components/bbox/sensor.py

* Fix check for overidden _attr_state

* Remove test workarounds from implementation

* Remove useless None-check

* Tweaks

* Migrate new sensors a-c

* Update climacell

* Push deprecation of temperature conversion forward

* Override __repr__ in SensorEntity

* Include native_value in SensorEntity attributes

* Pylint

* Black

* Black

* Fix rebase mistakes

* black

* Fix rebase mistakes

* Revert changes in august/sensor.py

* Revert handling of unit converted restored state

* Apply code review suggestion

* Fix arlo test
2021-08-11 10:45:05 +02:00
Aaron Bach 930c1dbe9b
Bump aioambient to 1.2.6 (#54442) 2021-08-11 09:58:53 +02:00
Brett 480fd53b4b
Advantage Air code cleanup (#54449) 2021-08-11 09:49:31 +02:00
jan iversen adcbd8b115
Activate mypy for Trådfri (#54416)
* Activate mypy.
2021-08-11 08:31:52 +02:00
Aaron Bach 10551743d6
Bump pyopenuv to 2.1.0 (#54436) 2021-08-10 20:28:03 -07:00
J. Nick Koston 4d40d95848
Add support for width and height to ffmpeg based camera snapshots (#53837) 2021-08-10 20:31:11 -05:00
J. Nick Koston d0b11568cc
Ensure HomeKit passes min/max mireds as ints (#54372) 2021-08-10 20:28:01 -05:00
J. Nick Koston e99576c094
Pass width and height when requesting camera snapshot (#53835) 2021-08-10 19:33:06 -05:00
GitHub Action 390023a576 [ci skip] Translation update 2021-08-11 00:18:57 +00:00
J. Nick Koston 4ae6435a64
Avoid increasing yeelight rate limit when the state is already set (#54410) 2021-08-10 15:17:49 -07:00
J. Nick Koston 4da451fcf7
Improve HomeKit Color with Color Temp implementation (#54371) 2021-08-10 15:16:51 -07:00
J. Nick Koston 4bde4504ec
Add api to device_automation to return all matching devices (#53361) 2021-08-10 14:21:34 -05:00
Marc Mueller ac29571db3
Refactor pi_hole icon usage (#54420) 2021-08-10 21:14:31 +02:00
jan iversen 08a30ed510
Add myself as codeowner to tradfri (IKEA stuff) (#54415) 2021-08-10 21:14:09 +02:00
Paulus Schoutsen ed0fd00746
Bump hass_nabucasa to 0.46.0 (#54421) 2021-08-10 11:30:02 -07:00
Joakim Sørensen 2265fd1f81
Mark Uptime Robot as a platinum quality integration (#54408) 2021-08-10 20:26:48 +02:00
Daniel Hjelseth Høyer ba6bdff04e
Re-add Tibber notify service name (#54401)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-08-10 20:14:10 +02:00
jjlawren 1eeb12ba1c
Support unloading/reloading Sonos (#54418) 2021-08-10 10:57:39 -07:00
Marc Mueller c0a7fca628
Fix pi_hole sensor icon (#54403) 2021-08-10 18:57:25 +02:00
Marc Mueller f5901265dc
Use EntityDescription - ios (#54359)
* Use EntityDescription - ios

* Make attribute static

* Update homeassistant/components/ios/sensor.py

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

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-08-10 16:47:52 +02:00
Dror Eiger 7e211965e4
Update the Qubino Flush Shutter fixture (#54387) 2021-08-10 10:31:55 -04:00