Commit Graph

42133 Commits (847b10fa65eebf1fa97279b68bb9d164c4689b8e)

Author SHA1 Message Date
epenet 329904dfbb
Add type hints to SSDP (#59840) 2021-11-18 09:49:36 -06:00
epenet 28ff1b9d9e
Use native date value in Renault sensors (#59900)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-18 16:15:54 +01:00
rianadon 7cc7bbb76d
Add speed to units system (#58437)
* Use speed units in unit system

* Use more obvious conversion factor for unit system speed test

* Use wind_speed instead of speed, use m/s
2021-11-18 16:08:42 +01:00
Ullrich Neiss 3dc0b9537c
Move Kostal Plenticore writable settings from sensor to select widget or switch (#56529)
* Move "Battery:SmartBatteryControl:Enable" from a simple sensor to a switch
Add "Battery:TimeControl:Enable" as a switch

If you want to change charging behavior you need to turn off both switches, before you can enable the function you want. (Same as on Plenticore UI)

* removed:
    @property
    def assumed_state(self) -> bool

was copied from an switchbot integration, does not make sense or does deliver valuable information

Tried to set constant properties in the constructor

* correct typo, add new line at eof

* Initial state of switch was missing after (re)starting HA. Now working.

* Reformatted with black

* correct syntax errors from test run 09.10.2021

* reformat

* update 15.10.2021

* Set select value is working

* update 05.11.2021

* data correctly received

* working completly

* remove old switch definitions, now replaced by select widget

* correct complaints from workflow run on 11/11/2021

* Add explanatory comment for switch and select

* Correct comments

* Removed function async def async_read_data(self, module_id: str, data_id: str)
from class SettingDataUpdateCoordinator

* Add Mixin class for read/write

* try to make select.py less "stale"

* new dev environment 2

* new dev environment 2

* correct syntax

* minor coding standard correction

* Remove BOM

* Remove BOM on select.py

* Updated .coveragerc
2021-11-18 16:06:32 +01:00
Franck Nijhof 5e07bc38c1
Use native date value in Twente Milieu sensors (#59897) 2021-11-18 15:32:50 +01:00
Franck Nijhof 4a83ee5dab
Use native datetime value in ESPHome sensors (#59896) 2021-11-18 15:32:39 +01:00
bwduncan ec6a67d17a
Use correct Nissan leaf device_class (#59889) 2021-11-18 15:23:57 +01:00
bwduncan 9ab8622d72
Fix Nissan Leaf default states (#59866)
* Fix default states and add device_class.

Car data is initialised to zero, which means that graphs have an ugly
drop to zero in them when HA is restarted. We should report "None" when
the state is unknown.

We need to use availability to signal whether binary_sensors have
sensible data or not.

We can remove the custom icons and use the defaults provided by using
appropriate device_class.

* Make isort happy.

* Explicitly return None

* Remove feature from bugfix PR.
2021-11-18 15:18:25 +01:00
Erik Montnemery b13e4e9953
Small tweak of TriggerEntity typing (#59875) 2021-11-18 14:34:07 +01:00
Franck Nijhof 01efe1eba2
Add datetime object as valid StateType (#52671)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-18 14:11:44 +01:00
Thomas Schamm 92ca94e915
Add cover platform to bosch_shc integration (#51443)
Co-authored-by: Artem Draft <Drafteed@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-18 14:00:01 +01:00
Simone Chemelli a41d336724
Scsgate logging from warn(deprecated) to warning (#59862) 2021-11-18 13:13:45 +01:00
Erik Montnemery 1609c0cc2c
Sort some entity_registry code (#59876)
* Sort some entity_registry code

* Sort some more entity_registry code

* Tweak
2021-11-18 11:51:32 +01:00
Franck Nijhof 87f2eb3bd7
Upgrade sentry-sdk to 1.5.0 (#59842) 2021-11-18 11:33:53 +01:00
Erik Montnemery bfafeb7965
Don't mock all of pychromecast in tests (#59839) 2021-11-18 11:28:35 +01:00
uvjustin bb731fad5d
Bump httpx from 0.19.0 to 0.21.0 (#59723)
* Bump httpx from 0.19.0 to 0.21.0

* Bump respx from 0.17.0 to 0.19.0
2021-11-18 18:11:46 +08:00
Tomas Kislan cfc02fc9f4
Update minio dependency to 5.0.10 (#59878)
* Update minio dependency to 5.0.10

* Update minio dependency in manifest file
2021-11-18 10:59:04 +01:00
dependabot[bot] 5c01ed7edf
Bump actions/setup-python from 2.2.2 to 2.3.0 (#59873)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2.2.2 to 2.3.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2.2.2...v2.3.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-18 10:21:08 +01:00
uvjustin 5f96ed19d9
Remove -bb option from tox and ci (#59846) 2021-11-18 13:23:25 +08:00
Jonathan Keljo 94bfa5272d
Remove the need for generics in greeneye_monitor.sensor (#58782)
* Remove the need for generics in greeneye_monitor.sensor

* Remove unused imports

* Store monitor and use a property instead
2021-11-17 20:30:58 -08:00
alim4r e180f1e302
Add input_number state to prometheus metrics (#56507)
* Add input_number to prometheus metrics

* Add prometheus input_number tests

* Removed unused import from test
2021-11-17 19:35:48 -08:00
René Klomp 5d0c758886
Bump pysma to 0.6.9 (#59848) 2021-11-17 19:56:04 -06:00
Maciej Bieniek 1c11e7061d
Bump Nettigo Air Monitor backend library (#59675) 2021-11-17 19:00:19 -06:00
GitHub Action 9a85c8d894 [ci skip] Translation update 2021-11-18 00:12:48 +00:00
Aaron Bach 279ded3562
Ensure `last_event_sensor_type` in SimpliSafe entities is lowercased (#59864) 2021-11-17 16:37:53 -07:00
Paulus Schoutsen 6175f1b6f3
Bump frontend to 20211117.0 (#59851) 2021-11-17 11:45:08 -08:00
Raman Gupta edd068d6eb
Add explicit unit mapping for zwave_js meters and sensors (#59659)
* Add explicit unit mapping for zwave_js meters and sensors

* review comment

* fix

* alternate approach
2021-11-17 12:26:32 -05:00
Philip Allgaier 5ae311b111
Fix invalid string syntax in OwnTracks config flow translations (#59838) 2021-11-17 16:05:50 +01:00
starkillerOG cac54d8e39
bump motionblinds to 0.5.8 (#59834) 2021-11-17 15:26:23 +01:00
Robert Svensson 569d596799
Add typing to deCONZ Lock and Logbook platforms (#59605) 2021-11-17 15:22:59 +01:00
Robert Svensson 0339761e72
Add typing to deCONZ Number and Sensor platforms (#59604) 2021-11-17 15:11:51 +01:00
Robert Svensson 29e0ef604e
Add typing to deCONZ Climate and Cover platforms (#59610) 2021-11-17 15:08:37 +01:00
Joakim Sørensen edbe54c346
Prefer YAML config mode in Lovelace system_health (#59835) 2021-11-17 14:47:22 +01:00
Martin Hjelmare b6dea3c6cb
Add more zwave_js binary sensor descriptions (#59474) 2021-11-17 12:53:44 +01:00
Thomas Dietrich 0ab3b10aed
Allow selection of statistics state characteristic (#49960)
* Make statistics state characteristic selectable

* Move computation in helper function

* Add relevant config elements for clarity

* Rename variables for better readability

* Avoid reserved prefix ATTR_ for stats

* Fix NoneType base_unit error

* Add testcases for statistics characteristic

* Add testcases for state_class, unitless, and characteristics

* Add testcase coverage for no unit with binary

* Replace error catching by an exception

* Attend to review comments
2021-11-17 12:31:32 +01:00
Raman Gupta 0f64e7036f
Bump zwave-js-server-python to 0.32.0 (#59727) 2021-11-17 11:56:48 +01:00
starkillerOG 3a7a4e8ffc
Fix Netgear init error on orbi models (#59799)
* fix Netgear init error on orbi models

* Update sensor.py
2021-11-17 11:49:12 +01:00
René Klomp ac96c7bb1f
Move creation of DeviceInfo outside try statement in SMA (#59821) 2021-11-17 11:28:18 +01:00
Franck Nijhof 5133269e2b
Upgrade black to 21.11b0 (#59823) 2021-11-17 11:19:09 +01:00
Maikel Punie 7e5316eb86
Bump velbusaio to 2021.11.7 (#59817) 2021-11-17 10:15:19 +01:00
Erik Montnemery dec54488e8
Enable basic type checking for cloud (#55337)
* Enable basic type checking for cloud

* Update mypy settings

* Address review comment

* Fix rebase mistakes

* Correct decorator order
2021-11-17 09:07:01 +01:00
Erik Montnemery 593bc866f0
Bump pychromecast to 10.1.0 (#59719)
* Prepare for pychromecast 10

* Bump pychromecast to 10.0.0

* Bump pychromecast to 10.1.0

* Update homeassistant/components/cast/discovery.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-17 09:05:25 +01:00
Dermot Duffy a88469ec74
Bump motioneye-client to v0.3.12 (#59811) 2021-11-17 08:29:59 +01:00
Kilian Lackhove a4826f4b69
Fix deCONZ climate offset display if offset is zero (#59803) 2021-11-17 07:29:37 +01:00
René Klomp a68563cefd
Add `configuration_url` to SMA integration (#59638) 2021-11-16 20:10:41 -06:00
epenet 7f07755f5c
Use ZeroconfServiceInfo in enphase-envoy (#59738)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-16 17:45:03 -07:00
GitHub Action b82fac1a73 [ci skip] Translation update 2021-11-17 00:13:20 +00:00
Milan Meulemans f8501ded0e
Add entity_category to Rituals Entities (#59756) 2021-11-16 14:37:28 -06:00
Marcel van der Veldt e1e6925097
Refactor of Hue integration with full V2 support (#58996)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-11-16 11:59:17 -08:00
Robert Svensson 4642a70651
Add typing to deCONZ Alarm Control Panel and Binary Sensor platforms (#59611)
* Add typing to deCONZ Alarm Control Panel and Binary Sensor platforms

* Address review comments

* Don't use asserts, use # type: ignore[no-any-return]

* Improve lazy typing of dict
2021-11-16 20:01:10 +01:00