Commit Graph

38371 Commits

Author SHA1 Message Date
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
jan iversen
71b0f6d095 set common test entity name. (#54697) 2021-08-17 20:43:27 +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
Ville Skyttä
848c0be58a Avoid some implicit generic Anys (#54577) 2021-08-16 23:12:06 +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
Ville Skyttä
bb4a36c877 Upgrade mypy to 0.910 and types-* (#54574)
Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
2021-08-16 22:47:37 +02:00
J. Nick Koston
5e51f57f02 Convert nmap_tracker to be a config flow (#54715) 2021-08-16 15:19:32 -05:00
Franck Nijhof
0b3f322475 Upgrade pre-commit to 2.14.0 (#54719) 2021-08-16 22:02:32 +02: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