Erik Montnemery
e1926caeb9
Remove STATE_CLASS_TOTAL and last_reset from sensor ( #54755 )
...
* Remove STATE_CLASS_TOTAL
* Update mill sensor
* Update tests
* Kill last_reset
* Return ATTR_LAST_RESET to utility_meter
* Update energy cost sensor
* Restore last_reset for backwards compatibility
* Re-add and update deprecation warning
* Update tests
* Fix utility_meter
* Update EnergyCostSensor
* Tweak
* Fix rebase mistake
* Fix test
2021-08-18 10:03:27 +02:00
Christopher Kochan
c65f769130
Update sense_energy to version 0.9.2 ( #54787 )
2021-08-18 08:29:02 +02:00
J. Nick Koston
87496ae75c
Fix HomeKit cover creation with tilt position, open/close, no set position ( #54727 )
2021-08-17 22:41:22 -05:00
J. Nick Koston
d7c1e7c7dc
Adjust yeelight homekit model ( #54783 )
2021-08-17 22:41:01 -05:00
Maciej Bieniek
10058ea3f0
Use new device classes in GIOS integration ( #54743 )
...
* Use new device classes
* Clean up
2021-08-17 22:35:05 -05:00
Maciej Bieniek
bd550c4559
Use AQI, PM1, PM25, PM10 device classes in Airly ( #54742 )
2021-08-18 02:40:06 +02:00
GitHub Action
0100ffcb8c
[ci skip] Translation update
2021-08-18 00:13:44 +00:00
Franck Nijhof
b981e69f95
Update SolarEdge to use new state classes ( #54731 )
2021-08-18 02:00:10 +02:00
Teemu R
3bc45eacfc
Fix tplink doing I/O in event loop and optimize ( #54570 )
...
* Optimize tplink i/o
* Cache has_emeter reduceing the number of i/o requests on hs300 by 5
* Use the state from the sysinfo dict for non-strips reducing required requests by one
* Remove I/O from __init__, read has_emeter from sysinfo
* Cleanup __init__ to avoid I/O
* Re-use the sysinfo response for has_emeter
* Use async_add_executor_job() to execute the synchronous I/O ops.
* use the device alias instead of host for coordinator, use executor for unavailable_devices
* Remove unnecessary self.hass assignment
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-18 01:29:40 +02:00
ehendrix23
67e9035e4e
Improve myq error handling for opening/closing cover ( #54724 )
2021-08-17 17:56:33 -05:00
Daniel Hjelseth Høyer
6da83b90f7
Rfxtrx,STATE_CLASS_TOTAL_INCREASING ( #54776 )
...
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-08-18 00:46:48 +02:00
Erik Montnemery
3a78f1fce6
Force STATE_CLASS_TOTAL_INCREASING to reset to 0 ( #54751 )
...
* Force STATE_CLASS_TOTAL_INCREASING to reset to 0
* Tweak
* Correct detection of new cycle
* Fix typing
2021-08-17 23:05:31 +02:00
gjong
8eec949835
Fix connectivity issue in the Youless integration ( #54764 )
2021-08-17 22:45:14 +02:00
Robert Hillis
4ef04898e9
Fix goalzero sensor not using SensorEntity class ( #54773 )
2021-08-17 22:38:20 +02:00
Daniel Hjelseth Høyer
909af30c7c
Tractive, update library ( #54775 )
...
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-08-17 22:04:05 +02:00
ehendrix23
8bf79d61ee
Add upnp binary sensor for connectivity status ( #54489 )
...
* New binary sensor for connectivity
* Add binary_sensor
* New binary sensor for connectivity
* Add binary_sensor
* Handle values returned as None
* Small text update for Uptime
* Update homeassistant/components/upnp/binary_sensor.py
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
* Update homeassistant/components/upnp/binary_sensor.py
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
* Update homeassistant/components/upnp/binary_sensor.py
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
* Update homeassistant/components/upnp/binary_sensor.py
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
* Update homeassistant/components/upnp/binary_sensor.py
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
* Update homeassistant/components/upnp/binary_sensor.py
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
* Update homeassistant/components/upnp/binary_sensor.py
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
* Update homeassistant/components/upnp/binary_sensor.py
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
* Updates based on review
* Update homeassistant/components/upnp/binary_sensor.py
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
* Further updates based on review
* Set device_class as a class atribute
* Create 1 combined data coordinator
and UpnpEntity class
* Updates on coordinator
* Update comment
* Fix in async_step_init for coordinator
* Add async_get_status to mocked device
and set times polled for each call seperately
* Updated to get device through coordinator
Check polling for each status call seperately
* Use collections.abc instead of Typing for Mapping
* Remove adding device to hass.data as coordinator
is now saved
* Removed setting _coordinator
* Added myself as codeowner
* Update type in __init__
* Removed attributes from binary sensor
* Fix async_unload_entry
* Add expected return value to is_on
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2021-08-17 20:23:41 +02:00
Franck Nijhof
5b75c8254b
Use path helper method for principal file in google_pubsub ( #54744 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-17 19:49:38 +02:00
Michael
15feb430fc
Use DEVICE_CLASS_UPDATE in Synology DSM ( #54769 )
2021-08-17 19:15:02 +02:00
Raman Gupta
cff6883b5c
Add zwave_js Protection CC select entities ( #54717 )
...
* Add Protection CC select entities
comment
* Disable entity by default
* use class attribute
* Enable protection entity by default
* add guard for none
2021-08-17 12:22:27 -04:00
LonePurpleWolf
35f563e23e
Airtouch4 integration ( #43513 )
...
* airtouch 4 climate control integration
* enhance tests for airtouch. Fix linting issues
* Fix tests
* rework tests
* fix latest qa issues
* Clean up
* add already_configured message
* Use common string
* further qa fixes
* simplify airtouch4 domain storage
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-17 17:29:20 +02:00
Jc2k
ea8061469c
Deprecate homekit_controller's air quality entity in favor of separate sensor entities ( #54673 )
2021-08-17 09:29:52 -05:00
Franck Nijhof
f39dc749bb
Toon: Remove icon from sensors with gas device class ( #54753 )
2021-08-17 16:28:18 +02:00
Robin Wohlers-Reichel
043841e70f
Solax 0.2.8 ( #54759 )
2021-08-17 15:06:22 +02:00
Niels Mündler
346310ccaf
Bump pyfronius version to 0.5.5 ( #54758 )
...
- allows for trailing slashes in configuration (which would otherwise cause errors in the newest fronius firmware)
- fixes units of energy related sensors
2021-08-17 14:59:56 +02:00
Franck Nijhof
9dab920d01
DSMR: Remove icon from sensors with gas device class ( #54752 )
2021-08-17 14:26:02 +02:00
Raman Gupta
013b998974
Relax zwave_js lock discovery rules to cover more use cases ( #54710 )
2021-08-17 13:34:00 +02:00
Joakim Sørensen
a2c9cfbf41
Use entity descriptions for hassio entities ( #54749 )
2021-08-17 12:14:14 +02:00
Maciej Bieniek
f1f05cdf1b
Use DEVICE_CLASS_UPDATE in Shelly integration ( #54746 )
2021-08-17 11:57:45 +02:00
Maciej Bieniek
4f3d1c5e12
Use PM1, PM25 and PM10 device classes in Nettigo Air Monitor integration ( #54741 )
2021-08-17 10:49:22 +02:00
Petru Paler
6d7ad8903f
Energy support for Solax inverters ( #54654 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-08-17 10:19:44 +02:00
jan iversen
69bc6bbe48
Activate mypy for google_pubsub ( #54649 )
2021-08-17 10:10:56 +02:00
Andre Richter
afade22feb
Add state classes to Vallox sensors ( #54297 )
2021-08-17 10:05:28 +02:00
Franck Nijhof
4c5d5a8f5a
Update deCONZ to use new state classes ( #54729 )
2021-08-17 08:34:41 +02:00
Joakim Sørensen
789e6555cc
Add device class update to hassio update entities ( #54733 )
2021-08-17 08:30:55 +02:00
Joakim Sørensen
e0a8ec4f62
Add device class update to the updater binary_sensor ( #54732 )
2021-08-17 08:30:35 +02:00
Bert Roos
476f3b5cb5
Fix Google Calendar event loading ( #54231 )
2021-08-16 20:20:16 -07:00
GitHub Action
1661de5c19
[ci skip] Translation update
2021-08-17 00:12:45 +00:00
Michael
af32bd956c
Add DEVICE_CLASS_UPDATE to Binary Sensor ( #53945 )
...
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-08-17 01:30:32 +02:00
Marc Mueller
a6b1dbefd4
Use EntityDescription - mitemp_bt ( #54503 )
2021-08-17 00:21:06 +02:00
jan iversen
7524acc38c
Activate mypy for sesame ( #54546 )
2021-08-17 00:19:12 +02:00
Marc Mueller
38a210292f
Use EntityDescription - logi_circle ( #54429 )
2021-08-17 00:14:00 +02:00
Erik Montnemery
0abcfb42b3
Remove last_reset attribute from FritzBoxEnergySensor ( #54644 )
2021-08-16 23:57:59 +02:00
J. Nick Koston
41c3bd113c
Bump zeroconf to 0.36.0 ( #54720 )
2021-08-16 23:54:45 +02:00
Michael
684d035969
Use state class total increasing for TPLink smart plugs ( #54723 )
2021-08-16 23:54:11 +02:00
Jc2k
de0460de61
Add device classes that were part of deprecated air quality entity ( #54075 )
2021-08-16 23:33:28 +02:00
jan iversen
85ff5e34cd
Active mypy for netio ( #54543 )
2021-08-16 23:25:41 +02:00
jan iversen
b72ed68d61
Activate mypy in sabnzbd ( #54539 )
2021-08-16 22:55:52 +02:00
Marc Mueller
236ccb933c
Use EntityDescription - point ( #54363 )
2021-08-16 22:54:56 +02:00
Marc Mueller
f9fbcd4aec
Use EntityDescription - qbittorrent ( #54428 )
2021-08-16 22:52:47 +02:00
J. Nick Koston
5e51f57f02
Convert nmap_tracker to be a config flow ( #54715 )
2021-08-16 15:19:32 -05:00
ehendrix23
f40c672cd2
Add light platform to MyQ ( #54611 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-08-16 14:52:53 -05:00
ollo69
c68253b580
Fix AsusWRT scanner entity DeviceInfo ( #54648 )
2021-08-16 19:37:49 +02:00
Raman Gupta
a41ee9e870
Create zwave-js select platform and discover additional siren values ( #53018 )
...
* Create zwave-js select platform and add siren values to number and select platforms
* use constants while we wait for lib release
* comments
* rename stuff in tests to prepare for protection CC PR
* Switch to 0-1 range for number entity
* Update homeassistant/components/zwave_js/number.py
Co-authored-by: kpine <keith.pine@gmail.com>
* Change step
* Switch to ToneID
* Better error handling
* Add test for coerage
Co-authored-by: kpine <keith.pine@gmail.com>
2021-08-16 13:36:20 -04:00
Brian Egge
441552e04c
Fix TypeError when climate component sets fan modes to None ( #54709 )
...
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2021-08-16 19:02:01 +02:00
Erik Montnemery
35389a6d28
Remove last_reset attribute from dsmr sensors ( #54699 )
2021-08-16 18:35:50 +02:00
Raman Gupta
61ab2b0c60
Use zwave_js.number platform for Basic CC values ( #54512 )
...
* Use zwave_js.number platform for some Basic CC values
* Remove Basic CC sensor discovery schema
* update comment
* update comment
2021-08-16 12:30:52 -04:00
Franck Nijhof
2b1299b540
Update Toon to use new state classes ( #54705 )
2021-08-16 18:20:44 +02:00
Aaron Bach
1b256efb23
Bump simplisafe-python to 11.0.4 ( #54701 )
2021-08-16 09:26:17 -06:00
Martin Hjelmare
494fd21351
Refactor mysensors sensor description ( #54522 )
...
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2021-08-16 16:34:22 +02:00
Paulus Schoutsen
512a474e93
Allow specifying discovery without a config flow ( #54677 )
2021-08-16 16:28:26 +02:00
Erik Montnemery
c5d88d3e2f
Remove last_reset attribute from dsmr_reader sensors ( #54700 )
2021-08-16 16:19:41 +02:00
Oxan van Leeuwen
844000556f
Set correct ESPHome color mode when setting color temperature ( #54596 )
2021-08-16 16:16:36 +02:00
Joakim Sørensen
a892605a90
Bump pytautulli ( #54594 )
2021-08-16 16:15:42 +02:00
Marc Mueller
2eba633382
Fix 'in' comparisons vesync light ( #54614 )
2021-08-16 16:13:07 +02:00
Daniel Hjelseth Høyer
75a2ac0808
Update melcloud to use state class total increasing ( #54607 )
2021-08-16 16:10:07 +02:00
Joakim Sørensen
99a62799ae
Allow non-admin users to call history/list_statistic_ids ( #54698 )
2021-08-16 16:07:11 +02:00
Daniel Hjelseth Høyer
979165669c
Update mill to use state class total ( #54581 )
2021-08-16 15:57:23 +02:00
Adam Bogdał
3e93215a1f
Fix event type names for non-specified Traccar events ( #54561 )
...
* Fix event type name
* Extend list of types only when all_events is specified
* Remove flake8 warnings
2021-08-16 15:49:12 +02:00
serenewaffles
2bcfae6998
Fix typo in Todoist service description ( #54662 )
2021-08-16 15:23:48 +02:00
Dylan Gore
a7918e90ab
Update PyMetEireann to 2021.8.0 ( #54693 )
2021-08-16 13:52:40 +02:00
epenet
a204d7f807
Renault code quality improvements ( #53680 )
2021-08-16 13:49:04 +02:00
Jeff Irion
2e56f66518
Bump adb-shell to 0.4.0 ( #54575 )
2021-08-16 13:18:19 +02:00
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
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
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