Commit Graph

37393 Commits (78f4a49b739b138c51ff46a011c064ab01d24235)

Author SHA1 Message Date
Ben 78f4a49b73
Bump surepy to 0.7.0 (#53123) 2021-07-18 08:49:07 +02:00
Clifford Roche b63e38f538
Add more Gree switches (#49629)
* Support additional switch for gree devices

* Undo some changes not related to review

* Retry build

* Back to Gree 0.11.7
2021-07-18 08:24:09 +02:00
GitHub Action 8f3166a955 [ci skip] Translation update 2021-07-18 00:10:14 +00:00
Brett 7fe3f78c24
Bump library version for Advantage Air (#52813)
* Bump library version

* Bump version to 0.2.5

* Add tests to cover this edge case
2021-07-17 14:45:29 +03:00
kpine 24cc5c8a0a
Replace local Barrier CC constants with library enums (#53109) 2021-07-17 02:54:11 -04:00
GitHub Action e6e1118dd4 [ci skip] Translation update 2021-07-17 00:09:24 +00:00
jjlawren 0277a645f1
Log source of discovery in Sonos (#53101) 2021-07-16 11:12:01 -10:00
Robert Hillis 4fceac00b1
Use entity class attributes for Bond (#53055) 2021-07-16 11:06:18 -10:00
Simone Chemelli b13119884c
Fix units for Fritz network sensors (#53026) 2021-07-16 11:01:00 -07:00
Bouwe Westerdijk 669883d416
Update Plugwise Config Flow (#47563)
Co-authored-by: Tom Scholten <git@scholten.nu>
2021-07-16 06:46:23 -10:00
p4p3r 9d79c4f617
Add On/Off as target values for zwave_js cover stop action (#52881)
* Add On/Off as target values for stop cover

Certain ZWave Cover devices use On/Off instead of the more common
Open/Close and Up/Down targets for movement.
Adding On/Off to the targets used to stop the cover during movement.
Fixes issue #51963

* Add test for updated zwave_js stop cover logic
2021-07-16 15:48:35 +02:00
stefano055415 6672962f2b
Add fan support to Freedompro (#52724)
* Update Freedompro

* Update Freedompro fix async_turn_on

* fix test end fix comments

* add property is_on

* add percent to fan freedompro

* fix name rotationSpeed to rotation_speed

* fix code SUPPORT_SET_SPEED
2021-07-16 15:14:37 +02:00
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