Eugene Prystupa
e5872cc0e4
apply small feedback suggestions from a previous PR that is already merged ( #37551 )
2020-07-06 20:09:56 -05:00
J. Nick Koston
27ef8a1ced
Ensure homekit accessory reset only affect the bridges with the accessory ( #37588 )
2020-07-06 17:27:25 -07:00
HomeAssistant Azure
0426b70046
[ci skip] Translation update
2020-07-07 00:17:49 +00:00
akloeckner
d0668d3a6c
Add optimistic mode to template switch ( #31637 )
2020-07-06 16:32:33 -07:00
Paulus Schoutsen
f49ce5d1b4
Protect loop set default executor ( #37438 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-07-06 15:58:53 -07:00
Rami Mosleh
f8651d9faa
Stop Speedtest sensors update on startup if manual option is enabled ( #37403 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-07-06 15:18:56 -07:00
Erik Montnemery
b826970b16
Fix base topic for 'topic' ( #37475 )
2020-07-06 15:17:13 -07:00
jjlawren
ba356c41e0
Fix Plex client controls when connected via plex.tv resource ( #37572 )
2020-07-06 15:16:41 -07:00
starkillerOG
b9f97e64f8
Ignore HEOS 1, 3, 5 and 7 for DenonAvr ssdp discovery ( #37579 )
2020-07-06 15:16:21 -07:00
J. Nick Koston
89599bc3cf
Ensure homekit tv names can be saved ( #37571 )
2020-07-06 14:28:55 -07:00
J. Nick Koston
c989f6dc09
Suppress spurious homekit warning about media player sources when the device is off ( #37567 )
2020-07-06 14:28:26 -07:00
Bram Kragten
706bc4c307
Update frontend to 20200702.1 ( #37566 )
2020-07-06 19:24:22 +02:00
J. Nick Koston
711b8e10a3
Switch homekit to use async_track_state_change_event ( #37253 )
...
* Switch homekit to use async_track_state_change_event
Calling async_track_state_change_event directly
is faster than async_track_state_change and has
slightly lower latency triggering state updates
in homekit
* check for deleted entities
* Update additional tests for linked sensor removals
* Ensure removing entities does not result in an exception
2020-07-05 19:05:13 -07:00
Eugene Prystupa
9b77e16ffc
Add new integration for Bond hub ( #37477 )
...
* create foundation for Bond integration
* add Bond hub integration (fix lint)
* Update homeassistant/components/bond/__init__.py
adding async_unload_entry per PR review suggestion
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* add Bond hub integration (fix missing import after applying PR suggestion)
* Update tests/components/bond/test_init.py
add a unit for unloading per PR review suggestion
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update tests/components/bond/test_init.py
add unit test for unload per PR review suggestion
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update tests/components/bond/test_init.py
PR review suggestion
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update tests/components/bond/test_init.py
PR review suggestion
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update tests/components/bond/test_init.py
PR review suggestion
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* add Bond hub integration (fix formatting)
* Update homeassistant/components/bond/manifest.json
PR suggestion
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/bond/manifest.json
PR suggestion
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/bond/manifest.json
PR suggestion
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/bond/strings.json
PR suggestion
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/bond/manifest.json
PR suggestion
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update requirements_all.txt
PR suggestion
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/bond/manifest.json
PR suggestion
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update requirements_test_all.txt
PR suggestion
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* add Bond hub integration (remove friendly name from config per PR suggestion)
* Update homeassistant/components/bond/__init__.py
add per PR review feedback
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/bond/__init__.py
remove per PR review feedback
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update tests/components/bond/test_init.py
fix unit test
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-07-05 20:17:53 -05:00
HomeAssistant Azure
6749424508
[ci skip] Translation update
2020-07-06 00:02:55 +00:00
Phil Bruckner
f6f84fc201
Add Amcrest audio_detected binary sensor ( #37486 )
2020-07-05 18:54:17 -04:00
J. Nick Koston
34ccb6588c
Cleanup async_track_state_change and augment docstring ( #37251 )
...
* Cleanup async_track_state_change and augment docstrings.
Skip from_state and to_state matching in
async_track_state_change when they are None
Optimize the state change listener for the most
common use case: no to_state and from_state
matching.
* Update benchmark to be more realistic (previously we assumed only one entity was present in the whole instance)
* Add more tests to ensure behavior is preserved
* Ensure new behavior matches test
* remove MATCH_ALL from zone automation since its the default anyways
* Might as well use async_track_state_change_event instead since MATCH_ALL is removed
2020-07-05 17:31:33 -05:00
Joakim Plate
2088092f7c
Switch rfxtrx to dispatcher ( #37271 )
...
* Switch to dispatcher
* Adjust tests for dispatcher
* Store device in sensor
* Move state application into binary sensor entity class
* Move more specifics into per platform classes
* Should not apply event in init of sensor
* Switch to call_later
* Make apply_event public
* No point in slugifying debug logs
* Adjust error in off delay and event
* Make sure we match with masked id
2020-07-06 00:10:26 +02:00
Aaron Bach
0067b6a84d
Transition Guardian to use a DataUpdateCoordinator ( #37380 )
...
* Migrate Guardian to use the DataUpdateCoordinator
* Finish work
* Cleanup
* Don't use UpdateFailed error
* Code cleanup
* Code cleanup
* Remove unnecessary change
* Code review
* Code review
* Use a subclass of DataUpdateCoordinator
* Make sure to pop client upon unload
* Adjust coverage
2020-07-05 16:09:40 -06:00
Franck Nijhof
53545c984b
Log lines do not end with a full stop ( #37527 )
2020-07-05 23:04:19 +02:00
Joakim Plate
01fd33f173
Switch tests to use hass objects instead of direct ( #37530 )
...
* Switch tests to use hass objects instead of direct
* Make sure sensor update state
* Add some initial binary sensor tests
* Add initial binary sensor tests
* Add tests for pt2262
* Add test for off delay
2020-07-05 22:41:11 +02:00
starkillerOG
3ad59f877c
Fix xiaomi_miio error when no sensors present ( #37531 )
2020-07-05 13:06:28 -07:00
J. Nick Koston
c1aaceebb6
Use async_track_state_change_event for automation numeric_state ( #37255 )
...
Calling async_track_state_change_event directly
is faster than async_track_state_change (see #37251 ) and has
slightly lower latency triggering state updates
2020-07-05 13:05:53 -07:00
jfearon
404b1f40d6
Tado climate entity timer service ( #37472 )
...
* New entity service to allow timer to be set on tado climate entities
* Add new line to end of yaml
2020-07-05 14:43:52 -05:00
Baptiste Candellier
3062312649
Add config flow + async support for SmartHab integration ( #34387 )
...
* Setup barebones SmartHab config flow
* Setup authentication flow
* Make setup async, add config flow receivers
* Add French translation
* Fix async issues
* Address review comments (thanks bdraco!)
* Fix unloading entries
* Migrate translations dir according to warning
* Create list of components
* Fix pylint false positive
* Fix bad copy-pastes 🤭
* Add async support to SmartHab component
* Address review comments (bdraco)
* Fix pylint
* Improve exception handling (bdraco)
* Apply suggestions from code review (bdraco)
Co-authored-by: J. Nick Koston <nick@koston.org>
* Don't log exceptions manually, fix error
* Reduce repeated lines in async_step_user (bdraco)
* Remove useless else (pylint)
* Remove broad exception handler
* Create strings.json + remove fr i18n
* Write tests for smarthab config flow
* Test import flow
* Fix import test
* Update homeassistant/components/smarthab/config_flow.py
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-07-05 14:20:51 -05:00
Jeff Irion
10893f6246
Convert Android TV integration to async ( #37510 )
...
* Convert Android TV integration to async
* pylint
* Remove unused test code
* Require async versions of androidtv and adb-shell
* Cleanup
* Remove commented out code
* Use constants SHELL_RESPONSE_OFF and SHELL_RESPONSE_STANDBY
2020-07-05 14:13:08 -05:00
RogerSelwyn
e3aa4679a0
Standardis asuswrt error message level ( #37515 )
2020-07-05 13:21:21 -05:00
RogerSelwyn
d79067db7e
Standardise geniusheub error levels ( #37512 )
2020-07-05 13:11:07 -05:00
Rick Sherman
b56f4bd9f8
Fix Datadog boolean metrics ( #37273 )
...
Explicitly cast boolean metrics to integers
2020-07-05 12:50:51 -05:00
starkillerOG
992793295c
Add denonavr solution tip for connection_error ( #37405 )
...
* denonavr: add solution tip for connection_error
see https://github.com/home-assistant/core/issues/37351#issuecomment-653356452
* Update en.json
* Update strings.json
2020-07-05 12:46:46 -05:00
J. Nick Koston
debb928b30
Use the main event loop for homekit ( #37441 )
...
* use hass.loop for homekit
* update calls for upstream pr
* Bump HAP-python to 2.9.2
2020-07-05 12:27:07 -05:00
Anton Tolchanov
6ca476fe21
Add prometheus metric naming guidelines ( #37149 )
...
* Add prometheus metric naming guidelines.
* Update homeassistant/components/prometheus/README.md
Co-authored-by: Martin Weinelt <mweinelt@users.noreply.github.com>
Co-authored-by: Martin Weinelt <mweinelt@users.noreply.github.com>
2020-07-05 19:00:37 +02:00
J. Nick Koston
b64ae55c66
Prebake common history queries ( #37496 )
...
* Prebake common history queries
The python overhead of to construct
the queries exceeded the database overhead. We now
prebake the queries that get frequently polled.
This reduces the time it takes to update history_stats
sensors and can make quite a difference if there
are a lot of them.
When using the mini-graph-card card, all the entities
on the card being graphed are queried every few seconds
for new states. Previously this would tie up the database if there
are lot of these graphs in the UI.
* Update homeassistant/components/history/__init__.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Update homeassistant/components/history/__init__.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* cache entity_filter in the lambda
* switch to yield
* Revert "switch to yield"
This reverts commit f8386f4940
.
* get_states always returns a list
* query wasnt actually reusable so revert part of the breakout
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-07-05 11:03:23 -05:00
michaeldavie
8bc775dacc
Bump env_canada to 0.1.0 ( #37483 )
2020-07-05 17:10:32 +02:00
Jürgen Haas
988a335e9d
Do not count netdata cleared and undefined alarms as warnings ( #37505 )
...
* Add NetdataAlarms alarm sensor to additionally collect alarm information from the netdata host
* Incorporate suggested changes by @MartinHjelmare
* Change from pictures to icons
* Simplify API callbacks following home-assistant-ecosystem/python-netdata/pull/5 and home-assistant-ecosystem/python-netdata/pull/6
* Bring back lost empty line
* Update the library version in manifest.json
* Update the library version in requirements_all.txt
* Linting
* Linting
* Fix typo
* Do not count cleared and undefined alarms as warnings
* Do not count cleared, undefined and uninitialized alarms as warnings
2020-07-05 17:06:04 +02:00
Phil Bruckner
f7c4900d5c
Enhance automation integration to use new features in script helper ( #37479 )
2020-07-05 09:25:15 -05:00
David Nielsen
a08cb2ca9d
Fix braviatv authentication refresh ( #37482 )
...
- Bumps bravia-tv lib to 1.0.6 which fixes is_connected() to actually
return True only when API is connected, instead of just returning whether
or not cookies are cached (regardless if they actually worked).
- Wrap is_connected() because it now performs io.
- Remove unnecessary logic to refresh cookies. Now that
is_connected() works, the bravia instance only needs to be
reconnected when is_connected is False and TV is not off.
2020-07-05 12:02:45 +02:00
Sean Mooney
a882cfafb1
Fix default icon for Withings sleep sensor ( #37502 )
...
The icon for Withings sleep sensor was using `mdi:bed` (which is correct for MDI v5.0.45 and later). However Home Assistant still uses an older version of Material Design Icons (4.9.95), so this `mdi:bed` icon was not displaying at all. It should be`mdi:hotel` instead, which you can see here: https://cdn.materialdesignicons.com/4.9.95/
2020-07-05 11:28:05 +02:00
HomeAssistant Azure
c6ed7754c7
[ci skip] Translation update
2020-07-05 00:02:52 +00:00
Shulyaka
5ba38e5053
Add humidifier support to emulated_hue ( #37110 )
...
* Add humidifier support to emulated_hue
* add humidifier dependency
* move dependency to after_dependency
* move dependency to hassfest
2020-07-04 17:53:36 -05:00
Martin
95d980da4a
Fix base class for ViCare binary sensor to remove warning ( #37478 )
2020-07-04 19:39:45 +02:00
Erik Montnemery
b63655057c
Publish birth and will messages by default ( #37371 )
...
* Publish birth and will messages by default
* Remove useless copy
2020-07-04 17:49:08 +02:00
Erik Montnemery
4b3ad0a1cd
Support multiple MQTT availability topics ( #37418 )
...
* Support multiple MQTT availability topics
* Make availability list and availability_topic exclusive
* Make availability list and availability_topic exclusive
* Add missing abbreviation
2020-07-04 17:48:34 +02:00
Erik Montnemery
9ade1de3d5
Support empty output of MQTT binary_sensor value_template ( #37420 )
...
* Support empty output of MQTT binary_sensor value_template
* Strip white space
* Add test
* Add test
2020-07-04 17:48:02 +02:00
Tim van Cann
333c151955
Call sync function from async context ( #37324 )
2020-07-04 10:47:12 -05:00
starkillerOG
ffcdd85117
Xiaomi Gateway subdevice support & AqaraHT + SensorHT devices ( #36539 )
...
* Gateway subdevice support & AqaraHT + SensorHT devices
* Gateway subdevice support & AqaraHT + SensorHT devices
* Add starkillerOG to codeowners
as proposed by @rytilahti in this issue: https://github.com/home-assistant/core/issues/36516
* add starkillerOG to xiaomi_miio
* fix config flow tests
* Update CODEOWNERS
* Update manifest.json
* prosess revieuw comments
* fix missing import
* use proper pressure unit hPa
* subdevice --> sub_device
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* subdevice --> sub_device
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* use key acces instead of get
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* subdevice --> sub_device
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* subdevice --> sub_device
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* subdevice --> sub_device
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* subdevice --> sub_device
* use dataclass instead of namedtuple
* update to newest python-miio functions (not yet released)
* Move device info to entitie
* remove unused variable
* improve default names
* SensorHT does not support pressure
* bump python-miio to 0.5.2
* bump python-miio to 0.5.2
* bump python-miio to 0.5.2
* Fix missing brackets
Co-authored-by: Teemu R. <tpr@iki.fi>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Teemu R. <tpr@iki.fi>
2020-07-04 14:56:16 +02:00
Tom
0b11fda017
Fix Plugwise zeroconf discovery formatting ( #37457 )
2020-07-04 11:12:05 +02:00
Chris Talkington
6fd8a7a34e
Use device class to isolate tesla battery icon ( #37446 )
2020-07-03 23:10:04 -07:00
J. Nick Koston
4b2ebf5487
Ensure removed entities are not displayed in logbook ( #37395 )
2020-07-03 23:08:46 -07:00
J. Nick Koston
045cdee30c
Avoid selecting the states created column for history ( #37450 )
...
We never use the data for history. We should
not select it as it created unneeded overhead.
2020-07-03 23:04:11 -07:00
HomeAssistant Azure
146b5691e7
[ci skip] Translation update
2020-07-04 00:03:02 +00:00
Justin Berstler
fe5f8e041b
Use a more detailed battery icon for Tesla cars ( #37154 )
...
Use the icon_for_battery_level helper to select a battery icon that indicates charge level and whether or not the battery is actively charging.
2020-07-03 18:36:26 -05:00
Nolan Gilley
13f634fa16
Upgrade python-join-api to allow user to specify actions ( #37394 )
2020-07-03 17:55:58 -05:00
RogerSelwyn
7c0d5526f3
Fix DarkSky spamming the log ( #37421 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-07-03 15:49:45 -07:00
smugleafdev
780376e411
Fix extremely minor typo: Cosumption -> Consumption ( #37322 )
2020-07-03 17:47:19 -05:00
Chris Talkington
1879183b24
Apply some suggestions from poolsense code review ( #37440 )
2020-07-03 15:38:05 -07:00
J. Nick Koston
ccb77ba1e9
Handle index already existing on db migration with MySQLdb backend ( #37384 )
...
_create_index needed the same check as _add_columns since
the MySQLdb backend throws OperationalError instead
of InternalError in this case
2020-07-03 15:35:02 -07:00
Teemu R
7da3065de6
Bump python-miio to 0.5.2.1 ( #37422 )
2020-07-03 15:32:23 -07:00
Alan Tse
1b70ea0c3f
Bump teslajsonpy to 0.9.2 ( #37434 )
...
* Bump teslajsonpy to 0.9.1
closes #37340
* Bump teslajsonpy to 0.9.2
2020-07-03 17:29:11 -05:00
Bouwe Westerdijk
d57dbb4319
Add Plugwise zeroconf discovery ( #37289 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Tom Scholten <tom@sue.nl>
Co-authored-by: Tom <CoMPaTech@users.noreply.github.com>
2020-07-03 15:28:34 -07:00
Paulus Schoutsen
e33a3bb94a
Stub out ecobee aux heat services ( #37423 )
2020-07-03 21:04:13 +02:00
ktnrg45
a445ebdf3c
Fix undesired power toggling ( #37427 )
2020-07-03 11:34:11 -07:00
J. Nick Koston
78e53e35c2
Prevent verisure lock from looping forever and sleeping in test ( #37425 )
2020-07-03 11:33:12 -07:00
Erik Montnemery
cd5f6a0c56
Don't print MQTT credentials to log ( #37364 )
2020-07-03 11:01:22 -07:00
therealryanbonham
5ecb3f9be2
Upgrade sonar to 0.2.3 ( #37392 )
...
Co-authored-by: Ryan Bonham <ryan@transparent-tech.com>
2020-07-03 13:59:30 +02:00
Robbie Trencheny
b859be8cea
Remove my codeownership over things I dont use anymore ( #37401 )
2020-07-03 09:41:23 +02:00
Aaron Bach
187a20288b
Bump pytile to 4.0.0 ( #37398 )
2020-07-02 23:07:54 -06:00
J. Nick Koston
7e664fbb3b
Ensure logbook entries appear when the logbook.log ( #37388 )
...
service without a domain or entity_id
2020-07-02 19:53:28 -05:00
Martin Hjelmare
98bcf4f28d
Fix ozw garage door methods ( #37374 )
2020-07-02 17:23:45 -07:00
HomeAssistant Azure
a6fb9e6100
[ci skip] Translation update
2020-07-03 00:03:38 +00:00
J. Nick Koston
f352c51990
Improve unifi device tracker performance ( #37308 )
...
* Improve unifi device tracker performance
The unifi websocket sends an update every second
which generates a significant amount of state
changed updates.
Avoid creating callback functions when they
are not going to be used.
* make _no_heartbeat/_make_disconnected instance methods
* remove extra empty line
* revert is_wired change
* remove extra line
2020-07-02 17:46:37 -05:00
starkillerOG
094f7ee718
Add DenonAvr missing error message ( #37370 )
2020-07-02 13:10:38 -07:00
Robert Van Gorkom
a7cf76491b
Fix withings bug that grabbed oldest value instead of the newest ( #37362 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-07-02 13:09:49 -07:00
Bram Kragten
58a9142f42
Update frontend to 20200702.0 ( #37369 )
2020-07-02 12:53:16 -07:00
Chris
f6df85f8ce
Add ozw garage door barrier support ( #37316 )
2020-07-02 21:29:09 +02:00
Shulyaka
4ec71c58bd
Add humidifier support to homekit ( #37207 )
...
* Add humidifier support to homekit
* spell
* dependencies
* lint
* add linked humidity sensor for humidifiers
* Apply suggestions from code review
Co-authored-by: J. Nick Koston <nick@koston.org>
* apply suggestions from code review
* pylint
* Fix tests
* Update homeassistant/components/homekit/type_humidifiers.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update tests/components/homekit/test_homekit.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Apply suggestions from code review
Co-authored-by: J. Nick Koston <nick@koston.org>
* apply suggestions from code review
* lint
* pylint
* push
* test for unavailable linker sensor
* black
* valid values key case
* black
* Update homeassistant/components/homekit/type_humidifiers.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* black
* coverage
* Set current humidity to 0 if linked sensor removed or unavailable
* use last known humidity instead
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-07-02 12:53:11 -05:00
uvjustin
49bbdb3c21
Use entry.data.get() in forked_daapd config_flow as some entries miss… ( #37359 )
2020-07-02 10:51:13 -07:00
Robert Van Gorkom
e60b975b10
Fix gogogate2 issue where non-admin users could not login ( #37353 )
2020-07-02 10:49:26 -07:00
J. Nick Koston
a87c29b5d9
Ensure logbook performs well when filtering is configured ( #37292 )
2020-07-02 09:12:27 -07:00
mdegat01
0a982f6fab
Fix Influx V1 test query ( #37309 )
2020-07-02 16:56:43 +02:00
Courtenay
0f8b934e68
Change log url in config check error notification ( #37311 )
2020-07-02 14:14:17 +02:00
Franck Nijhof
235298a1b2
Add Hue manual bridge config flow + options flow ( #37268 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-07-02 14:12:24 +02:00
John Hollowell
cf3f755edc
Update proxmoxve integration to correctly renew authentication ( #37016 )
2020-07-02 14:10:14 +02:00
bsmappee
0cc1a17d04
Smappee dependency update ( #37331 )
2020-07-02 13:57:43 +02:00
Markus Bong
f5fa7e4400
Fix devolo sensor subscriber ( #37337 )
2020-07-02 13:54:30 +02:00
MatthewFlamm
a015e551eb
Bump pynws-1.2.1 for NWS ( #37304 )
2020-07-01 18:36:32 -07:00
Gage Benne
bcabf6da91
Add Dexcom Integration ( #33852 )
...
* Initial commit for Dexcom integration
* Dexcom config flow testing
* Clarify errors during setup
* Resolve minor test issues
* Update sensor availability, resolve linting issues
* Add sensor tests
* Remove title due to 0.109, add abort
* >94.97% codecov/patch
* Move .translations/ to translations/
* Add constants for servers and unit of measurements
* Bump pydexcom version
* Updated domain schema, Dexcom creation
* Support for different units of measurement
* Update tests
* Remove empty items from manifest
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Raise UpdateFailed if fetching new session fails
* Switch everything over to required
* Simplify state information
* Simplify async_on_remove
* Pydexcom package now handles fetching new session
* Only allow config flow
* Remove ternary operator
* Bump version, pydexcom handling session refresh
* Using common strings
* Import from test.async_mock
* Shorten variable names
* Resolve tests after removing yaml support
* Return false if credentials are invalid
* Available seems to handle if data is empty
* Now using option flow, remove handling import
* Add fixture for JSON returned from API
* Overhaul testing
* Revise update options
* Bump pydexcom version
* Combat listener repetition
* Undo update listener using callback
* Change sensor availability to use last_update_success
* Update sensor availability and tests
* Rename test
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-07-02 02:14:54 +02:00
HomeAssistant Azure
3498882fe1
[ci skip] Translation update
2020-07-02 00:03:30 +00:00
jfearon
0a0b60566d
Add a service for setting the timer to tado water heaters ( #36533 )
...
* Add service to support setting timer on water heater component
* Update water_heater.py
Remove info logging
Return if unsupported option used
* Added default temperature as it is optional
* Update homeassistant/components/tado/services.yaml
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* Update homeassistant/components/tado/services.yaml
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* Update homeassistant/components/tado/services.yaml
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* Update homeassistant/components/tado/water_heater.py
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* Fix to remove else statement, and fix lint error
* Reinstate entity id on schema, allow setting with temperature on devices that dont support it
* Remove entity id from schema as not required
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2020-07-01 09:20:50 -05:00
Bram Kragten
247bc6f673
Updated frontend to 20200701.0 ( #37279 )
2020-07-01 14:34:36 +02:00
Bram Kragten
b9d957837e
Revert "Update fritzconnection to 1.3.0" ( #37278 )
...
This reverts commit 2f46a81e3e
.
2020-07-01 13:31:06 +02:00
Jeff Irion
f8d11c843d
Clean up 'androidtv.learn_sendevent' service ( #37276 )
2020-07-01 08:48:06 +02:00
Andrey
431045f036
Add media_stop for volumio integration ( #37211 )
2020-07-01 00:55:31 -05:00
Haemish Kyd
10786bbe7f
Create PoolSense integration ( #35561 )
...
* Created integration for PoolSense - a device to maintain your pool
* Updated poolsense integration with changes due to code review comments.
* Update poolsense with lint fix (logging-not-lazy)
* Update poolsense with lint fix (f string missing placeholders)
* Update homeassistant/components/poolsense/config_flow.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/sensor.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/sensor.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/sensor.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/sensor.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/sensor.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/sensor.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/sensor.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/sensor.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/sensor.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/strings.json
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/strings.json
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/strings.json
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/strings.json
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Added test for poolsense component. Updated config_flow to better follow the guidelines.
* Update tests/components/poolsense/test_config_flow.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update tests/components/poolsense/test_config_flow.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update tests/components/poolsense/test_config_flow.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update tests/components/poolsense/test_config_flow.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update tests/components/poolsense/test_config_flow.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update tests/components/poolsense/test_config_flow.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update tests/components/poolsense/test_config_flow.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update tests/components/poolsense/test_config_flow.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Removed uneccessary functions.
* Added local venv to gitignore
* Update homeassistant/components/poolsense/strings.json
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/strings.json
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/strings.json
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/strings.json
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/strings.json
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/strings.json
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update to strings to allow for translations. Also some coding convention updates.
* Removed space in icon return
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Removed space in icon return
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Removed space in icon return
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/__init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/__init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/__init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/strings.json
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Updated to include some error checks for pypi package
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
* Update tests/components/poolsense/test_config_flow.py
* Update homeassistant/components/poolsense/sensor.py
* Apply suggestions from code review
* Update homeassistant/components/poolsense/__init__.py
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
* Update homeassistant/components/poolsense/sensor.py
* Apply suggestions from code review
* Update homeassistant/components/poolsense/__init__.py
* Update homeassistant/components/poolsense/sensor.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-07-01 00:44:10 -05:00
HomeAssistant Azure
352c572e5d
[ci skip] Translation update
2020-07-01 00:06:46 +00:00
guillempages
0edd7302d5
Improve support for homematic garage covers ( #35350 )
2020-06-30 14:39:20 -07:00
Shulyaka
06e977b444
Add humidifier support to google_assistant ( #37157 )
2020-06-30 14:32:23 -07:00
Quentame
01ba578016
Add missed call sensor to Freebox ( #36895 )
2020-06-30 12:55:46 -07:00
J. Nick Koston
c1ec8971ae
Update myq for latest client version requirement ( #37104 )
2020-06-30 12:41:09 -07:00
J. Nick Koston
7746ecc9fb
Cache checking for entity exposure in emulated_hue ( #37260 )
...
Since we now base all of exposure checks on data that
will not change, we can cache the result instead
of calculating it every loop.
This change complements the work done in #32718
2020-06-30 13:22:17 -05:00
mdegat01
24289d5dbb
Refactor Influx logic to reduce V1 vs V2 code paths ( #37232 )
...
* refactoring to share logic and sensor startup error test
* Added handling for V1 InfluxDBServerError to start-up and runtime and test for it
* Added InfluxDBServerError test to sensor setup tests
* Raising PlatformNotReady exception from sensor for setup failure
* Proper testing of PlatformNotReady error
2020-06-30 20:02:25 +02:00
Phil Bruckner
38210ebbc6
Enhance script integration to use new features in script helper ( #37201 )
2020-06-30 10:22:26 -07:00
Erik Montnemery
86c27b50f1
Bump pychromecast to 7.0.1 ( #37225 )
...
* Bump pychromecast to 7.0.1
* Fix tests
* Mark configuration via platform for removal in 0.116
* Fix uuid check
2020-06-30 16:35:10 +02:00
Franck Nijhof
333dccc7af
Remove Hue configurator demo from demo integration ( #37250 )
2020-06-30 15:01:30 +02:00
Michał Mrozek
61475d0a0c
Add support for window covers to ozw integration ( #37217 )
...
* feat: add cover to ozw
* fix: imports
* fix: formatting
* fix: improve code regarding comments
* add: cover tests
* fix: add position converting tests
* fix: convert cover position form zwave value
* fix: improve naming
* fix: increase coverage
2020-06-30 13:02:30 +02:00
Jeff Irion
4d17b18761
Register 'androidtv.learn_sendevent' service ( #35707 )
2020-06-29 18:17:04 -07:00
Sven-Hendrik Haase
2f46a81e3e
Update fritzconnection to 1.3.0 ( #37212 )
...
This effectively fixes an important bug where the graph would go negative because 1.2.0 used the 32-bit counters and 1.3.0 uses 64-bit counters will not realistically go negative any time soon.
2020-06-29 17:49:22 -07:00
J. Nick Koston
fae47358b8
Use shared zeroconf for discovery netdisco ( #37237 )
...
* Use shared zeroconf for netdisco
* Update netdisco
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-06-29 19:34:38 -05:00
Aaron Bach
0f43476d03
Fix Tile location accuracy bug ( #37233 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-06-29 17:25:01 -07:00
Aaron Bach
856f8fd6de
Move Guardian services to entity platform services ( #37189 )
2020-06-29 17:24:42 -07:00
HomeAssistant Azure
bba47ad9b1
[ci skip] Translation update
2020-06-30 00:06:54 +00:00
Franck Nijhof
79f131066c
Ensure recorder data integrity and MySQL lock error handling ( #37228 )
2020-06-29 16:23:11 -07:00
Paulus Schoutsen
ac237ee10f
Updated frontend to 20200629.0 ( #37240 )
2020-06-29 15:54:02 -07:00
MatthewFlamm
11debb1568
Fix wind speed change in NWS ( #37222 )
2020-06-29 15:41:52 -07:00
David F. Mulcahey
b0942d86fe
Bump ZHA Quirks to 0.0.41 ( #37235 )
2020-06-29 15:37:42 -07:00
definitio
12510b0c97
Fixes after PR #36479 ( #37230 )
2020-06-29 15:36:52 -07:00
Rami Mosleh
cc7bed5dab
Fix updating ping sensor ( #37220 )
2020-06-29 12:45:28 -07:00
mdegat01
b0e2f5f375
Add mdegat01 as code owner for InfluxDB ( #37227 )
2020-06-29 20:21:21 +02:00
J. Nick Koston
89a9634d35
Use eventloop for scheduling ( #37184 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-06-29 09:39:24 -07:00
J. Nick Koston
0f72008090
Ensure homekit state changed listeners are unsubscribed on reload ( #37200 )
...
* Ensure homekit state changed listeners are unsubscribed on reload
* fix mocking
2020-06-29 11:25:26 -05:00
mdegat01
b96ce9c210
Additional testing for InfluxDB and some quality improvements ( #37181 )
...
* refactoring and added tests to sensor
* using caplog and not mocking main setup method in sensor tests
2020-06-29 17:31:49 +02:00
J. Nick Koston
7b4df98875
Silence spurious warning when HomeKit is already running ( #37199 )
...
If homekit.start is called when homekit is already running
we previous warned. Downgrade the warning to a debug message
as nothing is actually wrong.
2020-06-29 13:37:56 +02:00
Dave T
5badbcb012
Correct typo in input_number UI text ( #37208 )
2020-06-29 10:57:23 +02:00
Joakim Plate
ca265966e7
Sensors sometimes are created without event ( #37205 )
2020-06-29 06:39:56 +02:00
HomeAssistant Azure
af5374d38b
[ci skip] Translation update
2020-06-29 00:03:32 +00:00
Gleb Sinyavskiy
76fa581bb9
Move transmission limit and order config options to the options flow ( #37198 )
2020-06-28 22:51:18 +02:00
Gleb Sinyavskiy
4a374f0378
Limit and sort transmission torrents_info attribute ( #35411 )
2020-06-28 13:56:54 +02:00
Tom Harris
15165a3c93
Fix issue with Insteon devices not responding to device changes ( #37160 )
2020-06-28 11:46:44 +02:00
Aaron Bach
b0df223f5a
Bump aioguardian ( #37188 )
...
* Bump aioguardian
* Fix tests
2020-06-27 23:16:42 -06:00
Joakim Plate
201dab93ff
Attempt to set unique id of rfxtrx device ( #37159 )
2020-06-27 21:59:42 -07:00
Aaron Bach
10f296ba17
Fix bug where Tile session would expire ( #37185 )
2020-06-27 21:54:50 -07:00
HomeAssistant Azure
c1194c90cb
[ci skip] Translation update
2020-06-28 00:05:05 +00:00
J. Nick Koston
4acc6f333e
Improve scalability of state change event routing ( #37174 )
2020-06-27 14:46:45 -07:00
Alan Tse
07aba74757
Bump teslajsonpy to 0.9.0 ( #37162 )
2020-06-27 11:45:34 -05:00
David F. Mulcahey
4fd27e879e
add phillips remote cluster ( #37172 )
2020-06-27 12:40:34 -04:00
HomeAssistant Azure
e48bcd2070
[ci skip] Translation update
2020-06-27 00:05:54 +00:00
mdegat01
d454f85572
Add support for glob matching in InfluxDB filters ( #37069 )
...
* added support for glob filtering to influx
* removed print and using dataclass instead of namedtuple
2020-06-27 00:01:32 +02:00
Paulus Schoutsen
4e10ca3214
Fix speedtest blowing up ( #37151 )
2020-06-26 14:26:05 -07:00
Paulus Schoutsen
50dd6b69cd
Fix OwnTracks race condition ( #37152 )
2020-06-26 14:25:50 -07:00
Paulus Schoutsen
8a9b19f327
Updated frontend to 20200626.1 ( #37150 )
2020-06-26 13:44:28 -07:00
bsmappee
680f8f8d5a
Improve Smappee integration ( #37087 )
2020-06-26 10:46:14 -07:00
jjlawren
fe5bf96e5d
Catch additional exception for Plex account login failures ( #37143 )
2020-06-26 10:30:44 -07:00
Franck Nijhof
7d74b74570
Fix recorder purging by batch processing purges ( #37140 )
2020-06-26 10:27:45 -07:00
J. Nick Koston
a4501b93c4
Fix repack when using pymysql ( #37142 )
2020-06-26 11:45:40 -05:00
Kdemontf
39a5f68914
Update remote_rpi_gpio switch parent ( #37136 )
...
* Update switch.py
Update to rename SwitchDevice to SwitchEntity, if appropriate.
* Update switch.py
* Update switch.py
2020-06-26 18:29:38 +02:00
Aaron Bach
3a2d4ac7fa
Add optimistic Guardian switch updating ( #37141 )
2020-06-26 10:19:38 -06:00
J. Nick Koston
76db2b39b0
Move logbook continuous domain filtering to sql ( #37115 )
...
* Move logbook continuous domain filtering to sql
sensors tend to generate a significant amount of states
that are filtered out by logbook. In testing 75% of
states can be filtered away in sql to avoid the
sqlalchemy ORM overhead of creating objects that will
be discarded.
* remove un-needed nesting
2020-06-26 09:12:50 -05:00
Franck Nijhof
fe1a7f6d69
Upgrade sqlalchemy to 1.3.18 ( #37123 )
2020-06-26 08:15:54 -05:00
J. Nick Koston
0eaa6045c1
Ensure doorbird events can be filtered by entity_id ( #37116 )
2020-06-25 23:29:22 -07:00
jjlawren
40573bf393
Plex tests cleanup and additions ( #37117 )
2020-06-25 23:24:58 -07:00