Commit Graph

38304 Commits (d11c58dac83c375a4907ebc7f7c0e8be44a83fb7)

Author SHA1 Message Date
Daniel Hjelseth Høyer d11c58dac8
Improve Tractive (#54532)
* Tractive, code improve

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

* Tractive, code improve

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

* Tractive, code improve

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

* Update homeassistant/components/tractive/config_flow.py

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

* Update homeassistant/components/tractive/const.py

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

* Tractive, comments

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

* Update homeassistant/components/tractive/config_flow.py

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

* Update homeassistant/components/tractive/config_flow.py

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

* Tractive

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

* Reauth

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

* Reauth

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

* add tests

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

* add tests

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-16 12:56:10 +02:00
epenet 75275254f9
Renault test optimisation (#53705)
* Cleanup tests

* Use a MockConfigEntry

* Don't set up the integration for duplicate config entry testing
2021-08-16 12:52:58 +02:00
jan iversen 045b1ca6ae
Activate mypy in lifx (#54540) 2021-08-16 12:41:35 +02:00
Aidan Timson f684e4df34
Add code owner to GitHub integration (#54689) 2021-08-16 11:36:31 +02:00
Maciej Bieniek 8c4a2dc6d2
Add `water level` and `water tank detached` sensors for Xiaomi Miio humidifiers (#54625)
* Add water level and water tank detached sensors

* Use elif

* Use DEVICE_CLASS_CONNECTIVITY for water tank sensor

* Improve docstring

* Change the water tank sensor icon

* Fix typo
2021-08-16 09:13:45 +02:00
cnico 416668c289
Address late review of Flipr (#54668)
* Code format correction

* Other code review remarks of MartinHjelmare

* Simplification of flipr instantiation

* Formatting correction
2021-08-16 07:12:39 +02:00
Allen Porter 094f7d38ad
Use buffer at stream start with unsupported audio (#54672)
Add a test that reproduces the issue where resetting the iterator
drops the already read packets. Fix a bug in replace_underlying_iterator
because checking the self._next function turns out not to work since
it points to a bound method so the "is not" check fails.
2021-08-15 21:02:37 -07:00
jan iversen bec42b74fe
Solve switch/verify register type convert problem in modbus (#54645) 2021-08-15 19:57:37 -07:00
Daniel Hjelseth Høyer b2f73b3c69
Fix Tibber last reset (#54582)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-08-15 19:57:18 -07:00
Paulus Schoutsen bab7d46c9b
Guard partial upgrade (#54617) 2021-08-15 19:56:56 -07:00
Jesse Hills 41d932fcf8
Send color_brightness to ESPHome devices on 1.20 (pre-color_mode) (#54670) 2021-08-15 19:56:21 -07:00
GitHub Action d091068092 [ci skip] Translation update 2021-08-16 00:11:52 +00:00
Michael 9e2945680e
Address late review of nut integration (#54606)
* remove defaults from SensorEntityDescription

* use _attr_unique_id  instead of unique_id()

* check if unique_id is not None
2021-08-15 18:32:01 -05:00
J. Nick Koston d01addbd24
Bump zeroconf to 0.35.1 (#54666) 2021-08-15 18:27:10 -05:00
Nikolaos Stamatopoulos 61412db119
Fix typo in xiaomi_miio cloud_login_error string (#54661)
* fix(xiaomi_miio): Fix typo in cloud_login_error string

* fixup! fix(xiaomi_miio): Fix typo in cloud_login_error string

Restore translation files
2021-08-15 22:56:30 +02:00
Raman Gupta d0cebe911c
Add siren, number, and weather to base platform list (#54665) 2021-08-15 22:06:05 +02:00
Michael aa590415d3
Bump py-synologydsm-api to 1.0.4 (#54610) 2021-08-15 21:33:48 +02:00
Alan Tse ee7116d0e8
Treat temporary errors as warnings for Tesla (#54515)
* Treat temporary errors as warnings for Tesla
closes #53391

* Apply suggestions from code review

Co-authored-by: J. Nick Koston <nick@koston.org>

* Black

Co-authored-by: J. Nick Koston <nick@koston.org>
2021-08-15 08:09:06 -05:00
J. Nick Koston 54da424507
Add new OUIs to august for yale branded connect bridges (#54637) 2021-08-15 08:04:47 -05:00
Maciej Bieniek ebaae8d2bf
Add sensor platform for Xiaomi Miio fans (#54564) 2021-08-15 13:49:29 +02:00
Daniel Hjelseth Høyer 5ed9cd7153
Adax, update requirements (#54587)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-08-15 13:16:10 +02:00
Daniel Perna 675441142d
Update pyhomematic to 0.1.74 (#54613) 2021-08-15 12:50:40 +02:00
Erik Montnemery 87e7a8fb5f
Move temperature conversions to sensor base class - new integrations (#54623)
* Move temperature conversions to sensor base class

* Tweaks

* Update pvpc_hourly_pricing

* Fix flipr sensor

* Fix ezviz and youless sensor
2021-08-15 08:51:43 +02:00
GitHub Action a9807e5fa7 [ci skip] Translation update 2021-08-15 00:11:00 +00:00
Jan Jurča 8d7a136fc4
Add MySensors S_MOISTURE type as sensor (#54583) 2021-08-14 11:05:23 +02:00
Colin O'Dell 08d8b026d0
Upgrade qnapstats library to 0.4.0 (#54571) 2021-08-14 08:44:52 +02:00
Teemu R 102789672a
Bump python-miio to 0.5.7 (#54601) 2021-08-14 08:38:42 +02:00
Oxan van Leeuwen 2c181181e1
Clamp color temperature to supported range in ESPHome light (#54595)
ESPHome devices initially report a color temperature of 0 or 1 until it
has been changed by the user. This broke the conversion from RGBWW to
an RGB color.

Fixes #54293.
2021-08-13 23:27:47 -07:00
J. Nick Koston c10497d499
Bump zeroconf to 0.35.0 (#54604)
Fixes https://github.com/home-assistant/core/issues/54531
Fixes https://github.com/home-assistant/core/issues/54434
Fixes https://github.com/home-assistant/core/issues/54487
2021-08-13 23:26:57 -07:00
GitHub Action 370b7f387d [ci skip] Translation update 2021-08-14 00:11:27 +00:00
jjlawren f4fb5f2f5a
Skip Sonos zeroconf availability check in non-timeout scenarios (#54425) 2021-08-13 15:42:55 -05:00
Bram Kragten 8264fd2eb6
Update frontend to 20210813.0 (#54603) 2021-08-13 11:48:31 -07:00
Bram Kragten eb278834de
Add gas support to energy (#54560)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-08-13 10:39:16 -07:00
Steven Looman 2c1728022d
Use ssdp callbacks in upnp (#53840) 2021-08-13 11:13:25 -05:00
Duco Sebel 3454102dc8
Fix for 'list index out of range' (#54588) 2021-08-13 17:03:13 +02:00
Erik Montnemery 029873a088
Add support for total and total_increasing sensor state classes (#54523)
* Add support for amount and meter sensor state classes

* Ignore last_reset for STATE_CLASS_METER sensors

* Update tests

* Rename STATE_CLASS_METER to STATE_CLASS_AMOUNT_INCREASING

* Rename STATE_CLASS_AMOUNT to STATE_CLASS_TOTAL

* Fix typo

* Log warning if last_reset set together with state_class measurement

* Fix warning message
2021-08-13 12:35:23 +02:00
Daniel Hjelseth Høyer 821b93b0d0
Fix bug in ambiclimate (#54579)
* Fix ambiclimate

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

* Fix ambiclimate

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-08-13 11:38:14 +02:00
GitHub Action b71a0c5d4b [ci skip] Translation update 2021-08-13 00:17:12 +00:00
Gerard 50bcb3f821
Fix attributes not showing after using entity class attributes (#54558) 2021-08-12 23:33:02 +02:00
TheJulianJES 84f568abb1
Updated ZHA to also poll Philips Hue lights with new firmware (#54513) 2021-08-12 17:08:51 -04:00
carstenschroeder b1fb8de0f5
Add state_class attribute to keba integration (#54271)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2021-08-12 22:40:56 +02:00
Ville Skyttä 3f80c31bd5
Remove obsolete upcloud YAML config support (#54516) 2021-08-12 22:40:42 +02:00
jjlawren 084737dd01
Cleanup Sonos grouping event callback method (#54542) 2021-08-12 22:01:34 +02:00
Aaron Bach 81e1c44592
Remove unused import step in OpenUV config flow (#54554) 2021-08-12 13:18:10 -06:00
jjlawren 87e0b14282
Log gathered exceptions during Sonos unsubscriptions (#54190) 2021-08-12 11:46:07 -05:00
Erik Montnemery e558b3463e
Move temperature conversions to sensor base class (6/8) (#54476)
* Move temperature conversions to entity base class (6/8)

* Fix tests
2021-08-12 17:40:55 +02:00
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