1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-25 09:49:52 +01:00
Commit Graph

41370 Commits

Author SHA1 Message Date
Erik Montnemery 731bec3145 Improve test coverage (#59531) 2021-11-11 10:25:23 +01:00
Keilin Bickar 7098260dee Fix state of sense net_production sensor (#59391) 2021-11-11 08:49:07 +01:00
Guess 2a99ef2046 Set PARALLEL_UPDATES for ping binary sensor (#59524)
Changing PARALLEL_UPDATES from 0 (unlimited) to 50 as with many sensors (above 500) successful pings weren't being recorded. Resolves https://github.com/home-assistant/core/issues/54860
2021-11-11 08:38:01 +01:00
Erik Montnemery 65b1f0d9eb Minor refactor of energy validator (#58209) 2021-11-10 22:38:15 -08:00
Erik Montnemery 5f8997471d Minor refactor of template sensor (#59466) 2021-11-10 22:34:49 -08:00
Erik Montnemery a14131a679 Suppress media status when the lovelace cast app is active (#59481)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-11-10 22:33:07 -08:00
Diogo Gomes ec9b5df7b3 Ignore None state in state_change_event (#59485) 2021-11-10 22:31:56 -08:00
J. Nick Koston cab9f821a1 Fix zeroconf with sonos v1 firmware (#59460) 2021-11-10 22:31:08 -08:00
Matthias Alphart f8f060b72b Make util.color._match_max_scale public (#59207) 2021-11-10 22:29:16 -08:00
Franck Nijhof 61e4ebf155 Add button entity platform (restart button) to WLED (#59086)
Co-authored-by: Tom Brien <TomBrien@users.noreply.github.com>
2021-11-10 22:22:52 -08:00
Franck Nijhof 8447bbf5f0 Add binary sensor platform to RDW Vehicle information (#59253) 2021-11-10 22:22:18 -08:00
Franck Nijhof fae6c6fda1 Upgrade pyupgrade to v2.29.0 (#59499) 2021-11-10 22:21:43 -08:00
J. Nick Koston ebb25ab0e6 Make yaml file writes safer (#59384) 2021-11-10 22:19:56 -08:00
J. Nick Koston 751098c220 Bump sqlalchemy to 1.4.26 (#59527) 2021-11-10 20:01:59 -08:00
Sergiy Maysak 6bb816d226 Fix wirelesstag switch arm/disarm (#59515) 2021-11-11 02:21:29 +01:00
GitHub Action 34bc1298aa [ci skip] Translation update 2021-11-11 00:15:23 +00:00
Matthias Alphart 4e1958c1bd Add Button platform to KNX integration (#59082)
* add button platform

* default values for payload and payload_length

* allow `type` configuration for encoded payloads

* add test for type configuration

* move common constants to const.py

- CONF_PAYLOAD
- CONF_PAYLOAD_LENGTH

* validate payload for payload_length or type

* c&p errors

* fix unique_id and pylint

* fix validator
2021-11-10 20:34:35 +01:00
Bram Kragten 47b6755177 Google Cast: Use own media player app (#55524) 2021-11-10 19:40:49 +01:00
Nicolas Mowen 20f0a6730b Gogogate2 Battery Sensor Should Use % Unit For Compatibility (#59434) 2021-11-10 11:58:54 -06:00
epenet ab1e14204f Rename zeroconf service info (#59467)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-10 15:26:47 +01:00
ollo69 6cba03aa4a Remove resources selection from Nut config flow (#59450)
* Remove resources selection from Nut config flow

* Code clean-up

* Requested changes

* Apply suggestions from code review

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-10 13:49:05 +01:00
Aidan Timson c03fdd5da6 Add Azure DevOps coordinator and entity description (#54978)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
Co-authored-by: Ludeeus <ludeeus@ludeeus.dev>
2021-11-10 11:49:04 +01:00
Franck Nijhof 1910c0566c Upgrade jinja2 to 3.0.3 (#59468) 2021-11-10 11:04:42 +01:00
Tim Rightnour 93395f9b68 Add support for PRESSURE_CBAR (centibars) (#58762)
* Add support for PRESSURE_CBAR (centibars).  This is the standard UOM for tensiometers.

While the data could be converted into something like MBAR, and displayed
like that, the correct UOM for this type of sensor is CBAR.  Displaying
it as MBAR would be the same as displaying air pressure as feet of Hg, while
technically correct, it's hard to understand when reading.

Adding support for this UOM will fix errors in the UI(statistics) about the unit not
matching a unit of the device_class.

* Add tests for PRESSURE_CBAR
2021-11-10 09:44:05 +01:00
Oliver Gruß eec84ad71e Mqtt cover toggle add stop function (#59233)
* Change existing toggle to add new function

* Fixed using old property method to using actual protected variable.

* Adding service tests to new cover toggle function

* Working on comments from Pull Request 59233

* Adjust existing tests to fit new fake cover setup

* MockCover is calling state method of MockEntity but should call it from CoverEntity

* using different entity to get back test coverage
2021-11-10 09:03:20 +01:00
Allen Porter 01fe69511f Bump google-nest-sdm to 0.3.9 (#59458) 2021-11-10 08:29:33 +01:00
enegaard 2ae77bd231 Fix rpi_camera setup hanging on initialization (#59316) 2021-11-10 08:14:16 +01:00
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