Commit Graph

30410 Commits (51ebfade5260e6f8c36ffc0e3e1d130a80a21740)

Author SHA1 Message Date
epenet 0bb44c042c
Use dataclass properties in brother discovery (#60601)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 10:07:58 +01:00
Franck Nijhof b996f624db
Ensure ESPHome device classes are valid (#60594) 2021-11-30 09:44:39 +01:00
epenet 5003a1515b
Use dataclass properties in nam discovery (#60596)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 09:36:41 +01:00
epenet 64afe738cc
Use dataclass properties in elgato discovery (#60588)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 08:53:03 +01:00
epenet d74145ed7b
Use dataclass properties in roku discovery (#60577)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 08:46:40 +01:00
epenet 9374ce87ba
Use dataclass properties in wled discovery (#60573)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 08:42:30 +01:00
epenet e0b315041b
Use dataclass properties in octoprint discovery (#60579)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 08:42:08 +01:00
Jesse Hills e17759410c
Esphome button device class (#60569) 2021-11-30 08:33:14 +01:00
Klaas Schoute 222da7e2d1
Add configuration_url to integration (#60565) 2021-11-30 08:32:02 +01:00
epenet bb92dd2467
Use dataclass properties in apple_tv discovery (#60557) 2021-11-30 08:31:25 +01:00
epenet 0e3a229a1f
Use dataclass properties in volumio discovery (#60575)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-29 21:13:48 -10:00
epenet b4d17e1fad
Use dataclass properties in system_bridge discovery (#60576)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-29 21:11:56 -10:00
epenet b40dc6c271
Use dataclass properties in rainmachine discovery (#60578)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-29 21:10:50 -10:00
Allen Porter c4e5242b0c
Add an entity service for saving nest event related snapshots (#58369)
* Add an entity service for saving nest event related snapshots

Add an entity service `nest.snapshot_event` for recording camera event
related media to disk. This is based on `camera.snapshot` but takes in
a parameter for a Nest API event_id.

PR #58299 adds `nest_event_id` to events published by nest so that they can
be hooked up to this service for capturing events.

Future related work includes:
- Height & Width parameters for the rendered image
- Support video clips for new battery cameras
- An API for proxying media related to events, separate from the camera image thumbnail
- A Nest MediaSource for browsing media related to events

* Revert debugging information

* Add test coverage for OSError failure case

* Add service description for nest snapshot service

* Reduce unnecessary diffs.

* Sort nest camera imports

* Remove unnecessary if block in snapshot
2021-11-29 23:04:29 -08:00
Allen Porter cc543b200d
Update `nest` config flow to dramatically simplify end user setup with automated pub/sub subscription creation (#59260)
* Configure nest pubsub subscriber automatically

Update the config flow to configure the nest pubsub subscriber automatically.
After completing the authentication step, the user is now asked for the google
cloud console ID, which is needed to create a subscription.

Home Assistant manages the lifecycle of a subscription only when it is created
by the ConfigFlow. Otherwise (if specified in configuration.yaml) it treats
it similarly as before.

These are the considerations or failure modes taken into account:
- Subscription is created with reasonable default values as previously recommended (e.g. retion only keeps 5-15 minutes of backlog messages)
- Subscriptions are created with a naming scheme that makes it clear they came from home assistant, and with a random
  string
- Subscriptions are cleaned up when the ConfigEntry is removed. If removal fails, a subscription that is orphaned will
  be deleted after 30 days
- If the subscription gets into a bad state or deleted, the user can go through the re-auth flow to re-create it.
- Users can still specifcy a CONF_SUBSCRIBER_ID in the configuration.yaml, and
skip automatic subscriber creation

* Remove unnecessary nest config flow diffs and merge in upstream changes

* Incorporate review feedback into nest subscription config flow

* Update text wording in nest config flow
2021-11-29 22:41:29 -08:00
Allen Porter 8ca89b10eb
Split StreamState class out of SegmentBuffer (#60423)
This refactoring was pulled out of https://github.com/home-assistant/core/pull/53676 as an
initial step towards reverting the addition of the SegmentBuffer class, which will be
unrolled back into a for loop.

The StreamState class holds the persistent state in stream that is used across stream worker
instantiations, e.g. state across a retry or url expiration, which primarily handles
discontinuities. By itself, this PR is not a large win until follow up PRs further simplify
the SegmentBuffer class.
2021-11-29 22:25:28 -08:00
epenet 890790a659
Use dataclass properties in arcam_fmj discovery (#60562) 2021-11-30 06:46:41 +01:00
Allen Porter df90fdf641
Add an available property on Stream (#60429) 2021-11-29 21:23:58 -08:00
J. Nick Koston f0f88d56bd
Avoid probing configured ipp devices at discovery (#60551)
- Each time these were seen by zeroconf, these devices were
  probed even if they were already configured. This is expensive
  and we want to avoid this when possible
2021-11-29 22:53:42 -06:00
Paulus Schoutsen 1bfd98ab14
Bump frontend to 20211129.0 (#60564) 2021-11-29 18:35:41 -08:00
David F. Mulcahey 2f24fc0fd4
Fix Flo returning stale data (#60491)
* Fix Flo returning stale data

* update tests

* update coverage
2021-11-29 20:00:39 -05:00
Franck Nijhof 9f26850a19
Add device class support for button entity (#60560) 2021-11-29 17:44:21 -07:00
GitHub Action a925451906 [ci skip] Translation update 2021-11-30 00:13:53 +00:00
Joakim Sørensen 8a5df5f7eb
Fix ingress for non admin (#60120) 2021-11-29 23:03:16 +01:00
Paulus Schoutsen 914f7f85ec
Add local only users (#57598) 2021-11-29 14:01:03 -08:00
Maciej Bieniek 847b10fa65
Add `button` platform to NAM integration (#60410) 2021-11-29 22:58:04 +01:00
Michael 8626de24fc
Use correct value for current temperature for AVM Fritz!Smarthome thermostat devices (#60510) 2021-11-29 19:58:22 +01:00
Michael 83acfda757
Add reboot button to Shelly devices (#60417) 2021-11-29 19:49:49 +01:00
Erik Montnemery 814a742518
Don't wait for Google Assistant service calls when reporting state (#59832)
* Don't wait for Google Assistant service calls when reporting state

* Update tests

* Add test
2021-11-29 18:34:38 +01:00
Erik Montnemery d980ca7e04
Correct recorder migration._add_columns for PostgreSQL (#60547) 2021-11-29 18:33:25 +01:00
epenet 54df81cbab
Use ZeroconfServiceInfo in vizio (#60115)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-29 18:27:15 +01:00
epenet 37430e7c9e
Add get method to ZeroconfServiceInfo (#60528)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-29 17:37:55 +01:00
Matthias Lohr 7b81185d2a
Add tolo fan platform (#60502) 2021-11-29 17:15:38 +01:00
epenet ec1c52d945
Use dataclass for SsdpServiceInfo (#59931)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-29 06:10:07 -10:00
einarhauks 7ece86ee8d
Add sensors to Tesla Wall Connector Integration (#60507) 2021-11-29 06:05:14 -10:00
Eugenio Panadero 923cb0f4b7
Bump aiopvpc to 2.2.4 to fix price sensor attributes for pvpc_hourly_pricing (#60012) 2021-11-29 16:57:32 +01:00
Kevin Stillhammer 6167e4178b
Use find_coordinates in here_travel_time (#59938) 2021-11-29 16:54:03 +01:00
PlusPlus-ua 2be7773f5e
Add Tuya Fingerbot device support (#59880) 2021-11-29 16:52:15 +01:00
alexanv1 9aa33a3cf8
Fix brightness support for Tuya dimmers that use the Light ("dj") category (#60385)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-11-29 16:45:00 +01:00
Maikel Punie f18fe342ac
Remove configuration.yaml support for the velbus component (#60411) 2021-11-29 16:33:26 +01:00
Steffen Zimmermann c407e24a18
Add wiffi device configuration url support (#60367) 2021-11-29 16:29:31 +01:00
Simone Chemelli 07c09ab268
Add new name handling for Shelly RPC devices (#60539) 2021-11-29 16:16:49 +01:00
epenet 0f2e39adee
Add get method to DhcpServiceInfo (#60527)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-29 05:11:36 -10:00
jjlawren a88cc8b98c
Move Sonos bass & treble controls to number entities (#60498) 2021-11-29 16:00:37 +01:00
Franck Nijhof 3aa35e15c2
Remove custom WLED services (#60537) 2021-11-29 15:15:50 +01:00
rianadon 09af85c6a4
Add native unit types for weather entities (#59533)
* Add native unit types for weather entities

* Update weatherentity and change precision in climacell test

* Move weather test to demo tests

* Add weather test for temperature conversion

* Add more unit conversion tests

* Remove extra native_ methods

* Remove extra properties and save precision change for another PR

* Remove visibility_unit from metoffice component

The vibility values given by metoffice are formatted into strings,
which means they can't automatically be converted.

* Improve docstrings and convert pressures in forecast

* Add precipitation and wind speed units

* Clean up tests

* Round converted weather values

* Round weather values to 2 decimal places

* Move number of rounding decimal places to constant

* Docstring and styles
2021-11-29 14:44:44 +01:00
Franck Nijhof 5a97db6685
Upgrade wled to 0.10.1 (#60542) 2021-11-29 14:43:02 +01:00
Raphaël Beamonte 8600b5597a
Add 'trigger' support for MQTT Alarm Control Panel (#60525)
When configuring an Alarm Control Panel through MQTT discovery, it
was not possible to use the trigger service. This fixes that by making
it available the same way as ARM and DISARM services are.
2021-11-29 14:41:52 +01:00
Franck Nijhof 4cff04cbd5
Remove obsolete light attributes from WLED (#60535) 2021-11-29 11:32:30 +01:00
Jesse Hills dd001cacfd
Fix missing name for ESPHome reauth dialog (#60508) 2021-11-29 10:06:56 +01:00
Allen Porter 5e86c78c46
Redact ?auth= url parameters in stream sources when logged (#60438) 2021-11-29 09:59:01 +01:00
Jesse Hills 622d9606a5
Esphome/button (#60522) 2021-11-29 09:57:37 +01:00
J. Nick Koston ef8cf9e597
Add configuration_url to bond (#60523) 2021-11-29 08:44:11 +01:00
Michael Kowalchuk 15bf4dae9b
Add zwave_js speed configurations for GE/Jasco 12730 and 14287 fans (#60517) 2021-11-29 08:27:32 +01:00
Daniel Hjelseth Høyer 70b8decfb5
Replace Tibber STATE_CLASS_TOTAL_INCREASING with STATE_CLASS_TOTAL for not strictly increasing sensors (#60501)
* Tibber, fix #60490 not strictly increasing

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

* Tibber, fix #60490 not strictly increasing

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

* Tibber, fix #60490 not strictly increasing

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-11-29 08:22:48 +01:00
J. Nick Koston c535f785a8
Bump flux_led to 0.25.2 (#60519)
- Fixes warm/cold values on RGBCW bulbs with newer firmware

- Changelog: https://github.com/Danielhiversen/flux_led/compare/0.25.1...0.25.2
2021-11-29 06:21:33 +01:00
Joakim Sørensen 325861addf
Set internal quality_scale for the safe_mode integration (#60526) 2021-11-29 06:18:39 +01:00
Simone Chemelli 110fd261ee
Fix & update for latest Shelly Valve firmware (#60458) 2021-11-28 20:18:15 -08:00
Michael a29cc29304
Fix DeprecationWarning for asyncio.wait() in mysensors (#60512) 2021-11-29 02:06:11 +01:00
GitHub Action 2918e2d7d0 [ci skip] Translation update 2021-11-29 00:13:08 +00:00
micha91 b4730f4ffe
Add Yamaha MusicCast number entities (#60093) 2021-11-28 07:52:46 -10:00
einarhauks 4d345e0665
Add Tesla Wall Connector integration (#60000) 2021-11-28 07:41:01 -10:00
Sergiy Maysak efebb76a7e
Bump wirelesstagpy to 0.8.1 (#60472)
* Bumped version of wirelessttagpy to 0.8.1

* Removed dependency on wirelesstagpy for tests as no tests yet present
2021-11-28 10:26:57 -06:00
Matthias Lohr 2d1d9e9e20
Address late review of tolo integration (#60453)
* improvements requested by @MartinHjelmare

* addressed requested changes

* more improvements
2021-11-28 16:50:57 +01:00
Raman Gupta bae01ca7d8
Fix climacell hourly and nowcast forecasts (#60454) 2021-11-28 16:44:43 +01:00
Franck Nijhof e1036f3c71
Upgrade restrictedpython to 5.2 (#60493) 2021-11-28 16:34:15 +01:00
Erik Montnemery caf5ee2fab
Remove optional validation when creating conditions (#60481) 2021-11-28 14:54:07 +01:00
Vilppu Vuorinen 76b047dd12
Update pymelcloud to 2.5.5 (#60484) 2021-11-28 14:21:44 +01:00
Paulus Schoutsen c6ec84d0cf
Remove store user as auth result (#60468) 2021-11-28 14:14:52 +01:00
Gábor Kiss 1aadda4b0f
Fix Shelly dual mode bulb mode switch (#60471)
* fix_shelly_dual_mode_bulb_mode_switch

* Update __init__.py

* Update light.py
2021-11-28 12:07:18 +02:00
MJJ 6d08bee3df
Update buienradar library to 1.0.5 (#60473)
* Update buienradar to 1.0.5

should fix https://github.com/home-assistant/core/issues/60200

* Update requirements_all.txt

* Update requirements_test_all.txt
2021-11-28 10:46:32 +01:00
J. Nick Koston a3e34c74db
Fix flux_led discovery missing responses (#60464) 2021-11-27 23:36:38 -08:00
Alexei Chetroi 9b493be2b2
Bump up ZHA dependencies (#60474) 2021-11-27 22:49:59 -05:00
GitHub Action 3af54d96c7 [ci skip] Translation update 2021-11-28 00:14:19 +00:00
Matthias Alphart 2a0c1fa074
don't issue requests for non-existing devices (#60416) 2021-11-27 19:56:00 +01:00
Juan Jesús García de Soria 4526d25697
Update PyTurboJPEG to v1.6.3 (#60400) 2021-11-27 08:35:07 -10:00
J. Nick Koston adeeb99579
Bump flux_led to 0.25.1 (#60463)
* Bump flux_led to 0.25.1

- Fixes for older firmwares

- Changelog: https://github.com/Danielhiversen/flux_led/compare/0.25.0...0.25.1

* empty , pypi behind
2021-11-27 12:23:12 -06:00
J. Nick Koston fa2399030a
Bump flux_led to 0.25.0 (#60460)
* Bump flux_led to 0.25.0

* Refactor color_temp_to_white_levels and improve code coverage by @bdraco in https://github.com/Danielhiversen/flux_led/pull/185
* Adjust protocol to handle newer models that send 0xB0 responses by @bdraco in https://github.com/Danielhiversen/flux_led/pull/186
* Fix effects with floor lamps by @bdraco in https://github.com/Danielhiversen/flux_led/pull/188
* Add support for CCT protocol aka 0x1C models by @bdraco in https://github.com/Danielhiversen/flux_led/pull/187

- Changelog: https://github.com/Danielhiversen/flux_led/compare/0.24.38...0.25.0

* handle change in color_temp_to_white_levels
2021-11-27 18:24:42 +01:00
Simone Chemelli 3cd80b95db
Logging issue workaround for fritzconnection library (#60448)
* Logging issue workaround

* Better approach
2021-11-27 07:56:53 -08:00
Daniel Hjelseth Høyer bb99d07d82
Remove unused constant in Tibber (#60439) 2021-11-27 11:18:58 +01:00
Michael d63e2d1db0
fix blocking startup when NAS is busy (#60360) 2021-11-27 09:25:27 +01:00
Ricardo Steijn 729394547c
Bump crownstone-sse to 2.0.3 (#60428) 2021-11-27 08:37:07 +01:00
Alan Murray d8c73e8685
Bump acmeda integration aiopulse dependency version to 0.4.3 (#60434)
* Bump acmeda integration aiopulse dependency version to 0.4.3 to implement battery health monitoring.

* Updated acmeda requirements
2021-11-27 08:35:23 +01:00
GitHub Action 96313bbbe0 [ci skip] Translation update 2021-11-27 00:12:17 +00:00
bcelary ec7b1e574f
Use mysensors child description as entity name (#60420)
* using description for instance name if not empty

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-27 01:07:30 +01:00
Christopher Bailey 5a72c9f7c3
Rename various usages of UniFi to better identify only UniFi Network (#59568)
* Renames various usages of UniFi to better indentify only UniFi Network

* Apply suggestions from code review

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>

* Missed renames

* Updates more locations

* Removes instances of application/controller

* Missed a spot

* Updates all UniFi Controller instances

* Fixes typo

* Reverts changes to translations

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2021-11-26 22:44:49 +01:00
Michael 296b738740
Add button to trigger ota firmware update for Shelly devices (#58757)
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2021-11-26 14:19:39 +01:00
Matt 3d5432b799
Add configuration_url to AccuWeather integration (#60381) 2021-11-26 11:15:03 +01:00
Franck Nijhof 249cac2901
Remove myself as codeowner from Hue (#60395) 2021-11-26 10:03:51 +01:00
PlusPlus-ua 061691508b
Fixed handling of zero values in TuyaNumberEntity (#60393) 2021-11-26 09:35:19 +01:00
Matt Zimmerman 3f741d4295
Bump python-smarttub dependency to 0.0.28 (#60391) 2021-11-26 09:19:26 +01:00
J. Nick Koston 53f1530756
Fix flux_led effect brightness in A2,A3 models (#60386)
- Changelog: https://github.com/Danielhiversen/flux_led/compare/0.24.37...0.24.38
2021-11-25 22:33:01 -06:00
J. Nick Koston 18e822b7b6
Bump sqlalchemy to 1.4.27 (#60383) 2021-11-25 19:55:17 -08:00
Matt 79d6d79557
Add configuration_url to Nanoleaf integration (#60372) 2021-11-25 18:23:14 -06:00
Chris Talkington 2a35ae2c0a
Update rokuecp to 0.8.4 (#57259) 2021-11-25 18:21:39 -06:00
GitHub Action 78b47019f9 [ci skip] Translation update 2021-11-26 00:12:49 +00:00
Matt fabc55cbc4
Added configuration_url to Met.no integration (#60378) 2021-11-26 00:14:55 +01:00
epenet 22bdd38583
Use SsdpServiceInfo for SOURCE_SSDP tests (part 4) (#60339)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-25 17:13:52 -06:00
Marc Mueller 25f8d4a189
Upgrade pylint to 2.12.1 (#60375) 2021-11-26 00:13:27 +01:00
Matt dab2b17a17
Added configuration_url for Met Eireann integration (#60380) 2021-11-26 00:10:20 +01:00