Commit Graph

37419 Commits (bf0b19b05e6f46e19fc119690ac13c193a30fee8)

Author SHA1 Message Date
Robert Hillis c7b61fd8ce
Use entity class attributes for androidtv (#52531)
* Use entity class attributes for androidtv

* fix

* fix pylint

* fix
2021-07-15 15:35:42 +02:00
Robert Hillis 35cab74be6
Use entity class attributes for Bloomsky (#53030)
Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
2021-07-15 15:29:12 +02:00
Robert Hillis 00741d4273
Use entity class attributes for agent_dvr (#52501)
* Use entity class attributes for agent_dvr

* Apply suggestions from code review

Co-authored-by: Milan Meulemans <milan.meulemans@live.be>

* rework

Co-authored-by: Milan Meulemans <milan.meulemans@live.be>
2021-07-15 14:57:51 +02:00
J. Nick Koston 19b4d2e4d2
Add OUIs for legacy samsungtv (#52928) 2021-07-15 14:43:35 +02:00
da-anda 6fe38eadf2
Fix knx expose feature not correctly falling back to default value (#53046) 2021-07-15 14:41:04 +02:00
Joakim Sørensen 519efd2723
Handle missing peername (#53052)
* Handle missing peername

* Add test
2021-07-15 14:16:30 +02:00
Robert Hillis 6c476b5c1e
Use entity class attributes for Bmp280 (#53036) 2021-07-15 12:35:47 +02:00
Jan Bouwhuis c9eab10134
Add MQTT humidifier platform integration (#52828)
* New mqtt humidifier platform

* Add humidifier platform

* Leave out humidity step

* Use humidity in constant for payload reset

* change TARGET_HUMIDITY_RESET payload name

* _attr_max_humidity not assigned correctly

* _target_humidity_range has a zero base

* align CONF_TARGET_HUMIDITY_MIN and MAX  with model

* shorter topics for humidity_range

* Converts float to int from template

* new humidifier abbreviations

* Add common module to support tests

* Add tests

* Addtional testing

* Always require target_humidity_command_topic

* Typo

* use available_modes to align entity model

* use avail_modes not modes to avoid conflict

* typo target_humidity_value_template

* Allign modes and templates with climate platform

* mode_state_template

* target_humidity_state_template

* Typo in platform name

* Remove humidity_range feature and common lib

* Update homeassistant/components/mqtt/humidifier.py

Use vol.In, not regex

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

* black

* Update homeassistant/components/mqtt/humidifier.py

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

* Use round to convert float to target humidity

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-07-15 11:12:23 +02:00
Robert Hillis 8ce4d647c3
Use entity class attributes for arcam_fmj (#52675)
* Use entity class attributes for arcam_fmj

* fix
2021-07-15 10:19:18 +02:00
Robert Hillis eee3aa3b6f
Use entity class attributes for bme680 (#53037)
* Use entity class attributes for bme680

* fix
2021-07-15 10:00:47 +02:00
stefano055415 a057fd93bb
Add lock support Freedompro (#52725)
* change _attr_unique_id to unique_id and resolve conflict

* add test state updates from the API

* optimizer code test

* fix test

* fix comments and add test device registry
2021-07-15 09:31:50 +02:00
Eduard van Valkenburg f07d64c813
Another SIA fix for timestamp not present. (#53045) 2021-07-15 09:31:17 +02:00
Robert Hillis 5ff9c3e611
Clean up freedompro (#52992) 2021-07-15 09:27:31 +02:00
dependabot[bot] 82256b2588
Bump actions/stale from 3.0.19 to 4 (#53042)
Bumps [actions/stale](https://github.com/actions/stale) from 3.0.19 to 4.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v3.0.19...v4)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-15 09:43:07 +03:00
Franck Nijhof a5cdc0157b
Remove deprecated YAML configuration from Buienradar (#52939) 2021-07-15 08:31:17 +02:00
Tom Brien db97fd3d5b
Support user-defined base currency for Coinbase exchange rate sensors (#52879) 2021-07-14 21:50:23 -07:00
Daniel Hjelseth Høyer f152369944
Use entity class attributes for Co2signal (#53032) 2021-07-14 21:47:24 -07:00
Daniel Hjelseth Høyer fbad453c89
Pylint 2.9.3 (#52972)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-07-14 21:44:57 -07:00
GitHub Action db8db18b54 [ci skip] Translation update 2021-07-15 00:09:25 +00:00
Raman Gupta dd908caeba
Add zwave_js device triggers (#51968)
* Initial support for zwave_js device triggers

* lint

* Add node status changed trigger

* comments

* create helper function and simplify trigger logic

* simplify code

* fix exception

* remove unused type ignore

* switch to append to make future changes easier

* make exception consistent

* Add state config schema validation

* comment

* remove 0 from falsy check

* increase test coverage

* typos

* Add central scene and scene activation value notification triggers

* reorder things for readability and enumerate node statuses

* Add support for Basic CC value notifications

* fix schemas since additional fields on triggers aren't very flexible

* pylint

* remove extra logger statement

* fix comment

* dont use get when we know key will be available in dict

* tweak text

* use better schema for required extra fields that are ints

* rename trigger types to make them easier to parse

* fix strings

* missed renaming of one trigger type

* typo

* Fix strings

* reduce complexity

* Use Al's suggestion for strings

* add additional failure test cases

* remove errant logging statement

* make CC required

* raise vol.Invalid when value ID isn't legit to prepare for next PR

* Use helper function

* fix tests

* black
2021-07-14 14:14:36 -04:00
Raman Gupta 4d711898c7
Add missing test coverage for sirens (#53014) 2021-07-14 20:04:04 +02:00
Eduard van Valkenburg 7e16d38fc8
fix for timestamp not present in SIA (#53015) 2021-07-14 20:01:16 +02:00
Andre Lengwenus 49d109a969
Bump pypck to 0.7.10 (#53013) 2021-07-14 19:59:11 +02:00
Daniel Hjelseth Høyer 2740e56fd4
Co2signal, set SCAN_INTERVAL (#53023)
* limit co2signal, wip

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* limit co2signal

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* limit co2signal

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-07-14 19:58:02 +02:00
Raman Gupta 1f15181522
Add support for Z-Wave JS siren (#52948)
* Add support for Z-Wave JS siren

* Add additional device class to discovery

* fix docstring

* Remove device class specific part of discovery schema

* rename test

* switch to entry.async_on_remove

* Fix logic based on #52971

* Use constants to unblock PR

* Add support to set volume level

* Update homeassistant/components/zwave_js/siren.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-07-14 10:14:13 -04:00
Erik Montnemery e541bcd54d
Update statistics meta data on entity_id change (#52755) 2021-07-14 13:23:11 +02:00
Franck Nijhof 8c36f5c627
Deprecate Lyft integration (#53005) 2021-07-14 12:07:00 +02:00
Erik Montnemery ddc788bf8e
Include future statistics in history/list_statistic_ids (#52942)
* Include future statistics in history/list_statistic_ids

* Improve tests
2021-07-14 11:54:55 +02:00
J. Nick Koston 30d465e9dd
Update homekit to use network integration (#52946) 2021-07-14 11:44:58 +02:00
jan iversen c360d6009c
copy() --> deepcopy(). (#52794) 2021-07-14 11:00:16 +02:00
Franck Nijhof 2c3f3d7bda
Remove defunct Weather Underground integration (#52999) 2021-07-14 10:55:06 +02:00
Franck Nijhof 03dd2e326c
Remove flume for allowed ignore coverage violations (#53001) 2021-07-14 10:54:52 +02:00
Doug Hoffman 88fb30af11
Bump pyatv to 0.8.1 (#52849)
* Bump pyatv to 0.8.1

* Update apple_tv tests for new create_session location

* Update test_user_adds_unusable_device to try device with no services

pyatv >=0.8.0 considers AirPlay a valid service and no longer fails under the previous conditions.
2021-07-14 10:45:47 +02:00
Raman Gupta f13a15f2a6
Make zwave_js value updated event logic more performant (#52997) 2021-07-14 08:56:10 +02:00
GitHub Action 7b7062dded [ci skip] Translation update 2021-07-14 00:10:16 +00:00
Peter Nijssen 9cd6a9626e
Update pyrainbird to 0.4.3 (#52990) 2021-07-13 18:10:23 -04:00
Robert Hillis d76607e945
Use entity class attributes for august (#52744) 2021-07-13 09:56:34 -10:00
jan iversen 12ac666459
only allow one active call in each platform. (#52823) 2021-07-13 21:45:42 +02:00
Erik Montnemery 19d3aa71ad
Enable basic type checking for recorder (#52440)
* Enable basic type checking for recorder

* Tweak
2021-07-13 21:21:45 +02:00
Tom Harris 960684346f
Fix issue connecting to Insteon Hub v2 (#52970) 2021-07-13 20:27:04 +02:00
jjlawren f39f087b10
More graceful exception handling in Plex library sensors (#52969) 2021-07-13 20:22:31 +02:00
Ron Klinkien ff56ede960
Bump python-fireservicerota to 0.0.43 (#52966) 2021-07-13 20:21:50 +02:00
Raman Gupta 794571efdd
Add missing device classes for climacell sensors (#52979) 2021-07-13 20:13:56 +02:00
Robert Hillis 7f0eff8230
Use entity class attributes for Blackbird (#52889)
* Use entity class attributes for blackbird

* rework

* undo media_title
2021-07-13 20:08:22 +02:00
Robert Hillis 2b65501ca7
Use entity class attributes for aquostv (#52670)
* Use entity class attributes for aquostv

* fix

* fix

* Tweak

* tweak
2021-07-13 20:06:41 +02:00
Raman Gupta 026ca4e4e4
Additional fixes for siren platform (#52971) 2021-07-13 10:56:41 -07:00
Erik Montnemery 777fec62a5
Set device class for climacell temperature sensors (#52965) 2021-07-13 13:35:55 -04:00
René Klomp 23b0633ae2
Bump pysma to 0.6.4 (#52973) 2021-07-13 19:33:53 +02:00
Robert Hillis 3d419d1e8a
Fix flume converagerc (#52975) 2021-07-13 19:32:55 +02:00
puddly 987c7a289a
Update ZHA to support zigpy 0.34.0 device initialization (#52610)
* Handle `None` node descriptors

* Skip loading uninitialized devices

* Fix unit test incorrectly handling unset cluster `ep_attribute`

* Revert filtering devices by status during startup
2021-07-13 19:31:17 +02:00