Commit graph

37581 commits

Author SHA1 Message Date
Aaron David Schneider
3d3db4b044
Replace fritz profile switches by per device parental control switches (#52721)
* removes old profile switches and add new switches based on new method

* use Ellipsis instead of pass

* refactor async_add_profile_switches

* - add forgotten update_ha_state
- add notimplemtederror for devicebase

* Update homeassistant/components/fritz/common.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/fritz/common.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* comments

* fix for devices that were not connected

* Update homeassistant/components/fritz/common.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/fritz/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

Co-authored-by: J. Nick Koston <nick@koston.org>
2021-07-16 13:38:37 +02:00
Robert Hillis
7d52c30e36
Revert "Fix google test coverage (#53060)" (#53085)
This reverts commit 4075e83732.
2021-07-16 07:13:34 -04:00
stefano055415
1a1fcb94f9
Add cover support to Freedompro (#52723)
* Update Freedompro

* add new test and fix code

* fix test and add support open and close
2021-07-16 11:56:05 +02:00
Hmmbob
31074ef6b8
Update name from "generic" to "generic camera" (#53080) 2021-07-16 11:46:47 +02:00
Guido Schmitz
268c7ef768
Rewrite mocking in devolo Home Control tests (#53011)
* Rework mocking

* Instantiate properties
2021-07-16 11:40:08 +02:00
Erik Montnemery
c6e1f8878d
Add light white parameter to light/services.yaml (#53075) 2021-07-16 09:03:28 +02:00
René Klomp
da7b292855
Use Utility Meter configured name as friendly name (#53051) 2021-07-15 20:58:32 -07:00
Robert Hillis
4075e83732
Fix google test coverage (#53060) 2021-07-15 20:56:57 -07:00
GitHub Action
62a2efaf27 [ci skip] Translation update 2021-07-16 00:10:34 +00:00
Vincent Le Bourlot
cf647c5d20
Increase polling interval to prevent reaching daily limit (#53066)
* increase polling interval to prevent reaching daily limit

* update test accordingly
2021-07-15 17:24:54 -04:00
Paulus Schoutsen
989839a1a9
Generate const files for config flow scaffolds (#53064) 2021-07-15 19:57:06 +02:00
Paulus Schoutsen
d30ed05f30
Expose Spotify as a service (#53063) 2021-07-15 10:27:18 -07:00
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