Commit Graph

41343 Commits

Author SHA1 Message Date
Erik Montnemery
e20127d9ff Minor refactor of template binary sensor (#59432)
* Minor refactor of template binary sensor

* pylint

* Tweak
2021-11-10 07:58:22 +01:00
ollo69
cde6e007bf Remove 'UnicodeDecodeError' exception in AsusWrt (#59447) 2021-11-10 07:53:05 +01:00
Ville Skyttä
4273e5b507 Huawei LTE sensor updates (#59374)
* Add human readable name for eNodeB ID

* Mark various config and diagnostic sensors' entity category as such

* Add uptime sensor
2021-11-10 08:49:50 +02:00
kreene1987
1ea092a54f Allow dict as input to zwave_js.set_value service (#59370)
* Original service data as a dict

Fixes per recommendation in #57336.

* Update homeassistant/components/zwave_js/const.py

agree, thanks

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2021-11-10 07:08:43 +01:00
Ryan Fleming
5e2d71dc90 Use unknown state for octoprint temperature sensors with None value (#59130)
* Mark octoprint temperature sensors as unavaible when value is not supplied

* Check for none explictly

* Do not mark the entity as unavailable

* Swap to using er.get_async
2021-11-10 05:52:29 +01:00
GitHub Action
86b12af3dc [ci skip] Translation update 2021-11-10 00:17:39 +00:00
Bram Kragten
4481fe11c4 Update frontend to 20211109.0 (#59451) 2021-11-09 14:40:21 -08:00
Franck Nijhof
dcafee5c97 Upgrade pipdeptree to 2.2.0 (#59438) 2021-11-09 22:05:01 +01:00
Robert Hillis
66f49d1826 Bump goalzero to 0.2.1 (#59437) 2021-11-09 21:46:44 +01:00
Robert Hillis
0c83a3284c Bump pyefergy to 0.1.5 (#59439) 2021-11-09 21:45:14 +01:00
puddly
004d88caad Bump zigpy-znp from 0.5.4 to 0.6.1 (#59442) 2021-11-09 15:12:17 -05:00
Franck Nijhof
11da932455 Upgrade debugpy to 1.5.1 (#59436) 2021-11-09 15:12:04 -05:00
Franck Nijhof
ca2f343c51 Upgrade colorlog to 6.6.0 (#59440) 2021-11-09 21:30:23 +02:00
Bram Kragten
28c07f5c43 Fix CORS (#59360)
* Fix CORS

* rename

* Update view.py
2021-11-09 18:30:51 +01:00
epenet
7e81c6a591 Move onewire device compatibility checks (#59338)
* Move device compatibility checks to onewirehub

* Add test for dtoverlay warning

* Add tests for unknown device warning

* Move dtoverlay error

* Empty commit to retrigger tests

* Update description

* Patch asyncio.sleep to speed up the tests

Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-09 18:30:05 +01:00
Martin Hjelmare
d5fcf0b622 Add zwave_js binary sensor entity category (#58703)
* Add zwave_js binary sensor entity category

* Handle non idle notification state

* Fix door state

* Fix duplicate door state description

* Add tests
2021-11-09 18:26:34 +01:00
Thanasis
4b228e3add Add entity categories to most NUT entities (#58798)
* Add entity cateogories to most NUT entites

* changes to categories
2021-11-09 18:25:19 +01:00
Gábor Kiss
032786fcd8 Improve Shelly color mode switch for dual mode bulbs (#58971)
* Shelly color mode switch for SHCB-1

* Update light.py

* Update light.py

* Update homeassistant/components/shelly/light.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* Update light.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2021-11-09 18:24:40 +01:00
Brent Petit
59a0e5a773 Update python-ecobee-api to 0.2.14 (#59381) 2021-11-09 18:23:03 +01:00
Joakim Sørensen
355b3c2c3d Bump pytraccar from 0.9.0 to 0.10.0 (#59429) 2021-11-09 18:20:34 +01:00
Joakim Sørensen
36ebbef243 Bump pytautulli from 21.10.0 to 21.11.0 (#59426) 2021-11-09 18:02:50 +01:00
Bram Kragten
6e7712da3c Add periods to statistics_during_period ws (#59425) 2021-11-09 17:29:39 +01:00
Erik Montnemery
3d909b00d5 Remove unneeded dynamic lookup of domain (#59423) 2021-11-09 07:41:45 -08:00
Joakim Sørensen
d05c80c8e4 Bump pylaunches from 1.0.0 to 1.2.0 (#59420) 2021-11-09 16:22:11 +01:00
jan iversen
ad91e4b417 Simplify setup of tradfri entities (#59343)
* Simplify detection of devices.
2021-11-09 15:18:13 +01:00
Joakim Sørensen
5177fabee0 Bump pyuptimerobot from 21.9.0 to 21.11.0 (#59418) 2021-11-09 14:50:35 +01:00
Joakim Sørensen
56b1f26e7d Bump pycfdns from 1.2.1 to 1.2.2 (#59416) 2021-11-09 14:49:45 +01:00
Ville Skyttä
51510c542a Remove const.HTTP_* status constants (#58380) 2021-11-09 13:01:46 +01:00
jan iversen
06d29040b9 Catch connection errors that makes tradfri hang in startup (#59368) 2021-11-09 13:00:50 +01:00
Tom Brien
fc58df6df9 Change Coinbase account state class to total (#59404) 2021-11-09 13:00:12 +01:00
Duco Sebel
62e7b0b887 Add category diagnostic to Switchbot 'calibrated' binary sensor (#59409) 2021-11-09 12:59:50 +01:00
Erik Montnemery
23fad60769 Don't use template in cover device condition (#59408) 2021-11-09 12:43:21 +01:00
Erik Montnemery
b5ce84cd89 Add MQTT button (#59348) 2021-11-09 12:04:14 +01:00
Robert Hillis
4c2bf428d6 Revert "Add tests for goalzero" (#59407) 2021-11-09 12:01:12 +01:00
Erik Montnemery
ff837c736e Return False from state conditions on missing attributes (#59405) 2021-11-09 11:34:18 +01:00
Chen-IL
2fd6400952 Bump aioasuswrt to 1.4.0 (#59357) 2021-11-09 11:17:48 +01:00
John Howard
7e9863f9c8 Removing trailing \ in tts entity description (#59313) 2021-11-09 10:51:54 +01:00
lambtho
5418e76c84 IOTA removal (#59380) 2021-11-09 10:40:28 +01:00
epenet
d226df2511 Dyson removal (#59401)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-09 10:38:51 +01:00
rianadon
a102c425a9 Add speed conversion function & add speed to units system (#53846)
* Add speed conversion function

* Add test for speed utility functions

* Update unit system tests

* Fix incorrect unit conversions in tests

* Fix some test errors

* Calculate speed units from smaller set of constants

* Fix typo in speed test

* Use pytest.approx for checking floating point values

* Change other instance of speeds needing to be pytest.approx

* Revert changes to unit system

* Fix oopsie in defining in/day and in/hr

* Parametrize test

* Add comments describing calculations & remove duplicate test
2021-11-09 08:12:28 +01:00
Tom Brien
f46ba2b38b Add state class to Coinbase sensors (#59109) 2021-11-09 07:28:39 +01:00
RenierM26
121a0915bc Switchbot bump api version (#59398)
* Bump Switchbot api for reliability improvements.

* Bump api version, update mock test import to reflect api data changes.
2021-11-09 07:01:05 +01:00
RenierM26
012e005e0d Store SB data Class. (#59266) 2021-11-09 07:00:51 +01:00
Aidan Timson
4e59e6c9a7 System Bridge - Handle OSError for switched off devices (#59312) 2021-11-08 21:46:33 -08:00
Robert Hillis
cc872b4618 Add tests for goalzero (#57008)
* Add tests for goalzero

* clean up
2021-11-08 21:29:25 -08:00
Michael
a22a966fac Increase timeout for fetching camera data on Synology DSM (#59237) 2021-11-08 20:42:20 -08:00
GitHub Action
a989fd2e66 [ci skip] Translation update 2021-11-09 00:15:20 +00:00
epenet
cf22bd8807 Use zeroconf attributes in freebox (#58967)
* Use zeroconf attributes in freebox

* Use zeroconf.HaServiceInfo in tests
2021-11-09 00:27:36 +01:00
Thomas Dietrich
9eaf8bd21b Fix statistics precision handling (#59202)
* Fix statistics precision error when configured 0, fix #42547

* Add tests for statistics precision

* Apply precision=0 logic to float numbers only

* Implement contextlib way of exception handling
2021-11-08 23:26:00 +01:00
Thomas Dietrich
2924f4605b Fix statistics startup error for None value states (#59199)
* Catch statistics startup error for None value states, fix #49254

* Add test for statistics None handling

* Update tests/components/statistics/test_sensor.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Switch test case logic to remove sensor last

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-11-08 23:25:19 +01:00