J. Nick Koston and Paulus Schoutsen
b8ef87d84c
Fix ping log level to be debug instead of warning ( #39900 )
2020-09-10 18:53:25 +00:00
J. Nick Koston and Paulus Schoutsen
7370b0ffc6
Detect self-referencing loops in template entities and log a warning ( #39897 )
2020-09-10 18:53:24 +00:00
J. Nick Koston and Paulus Schoutsen
8e3e2d436e
Use a unique id for each icmplib ping to avoid mixing unrelated responses ( #39830 )
2020-09-09 20:34:12 +00:00
J. Nick Koston and Paulus Schoutsen
a5dec53e1b
Fix isy994 send_node_command ( #39806 )
2020-09-08 15:35:35 +00:00
J. Nick Koston and Paulus Schoutsen
f1de903fb5
Restore missing device_class to template binary_sensor ( #39805 )
2020-09-08 15:35:35 +00:00
J. Nick Koston and Paulus Schoutsen
fa07787007
Fix cover template entities honoring titlecase True/False ( #39803 )
2020-09-08 15:35:34 +00:00
J. Nick Koston and Paulus Schoutsen
c9ec533aa5
Add the ability to reload bayesian platforms from yaml ( #39771 )
2020-09-08 15:35:27 +00:00
J. Nick Koston and GitHub
5e83feeabf
Increase test coverage for template sandbox ( #39750 )
2020-09-07 17:33:22 +02:00
J. Nick Koston and GitHub
90d574e521
Ensure static templates are still called back on first refresh ( #39753 )
2020-09-07 17:19:39 +02:00
J. Nick Koston and GitHub
8c96eb7c56
Retry tado setup later when cloud service is unavailable ( #39748 )
2020-09-07 16:16:29 +02:00
J. Nick Koston and GitHub
2e6cd4f12b
Optimize template sandbox for Home Assistant ( #39731 )
2020-09-07 09:17:41 +02:00
J. Nick Koston and GitHub
4779916ac4
Set DEVICE_CLASS_GATE for iSmartGate gates ( #39703 )
2020-09-06 18:55:20 -05:00
J. Nick Koston and GitHub
251d8919ea
Add domain filter support to async_all to match async_entity_ids ( #39725 )
...
This avoids copying all the states before applying
the filter
2020-09-06 23:20:32 +02:00
J. Nick Koston and GitHub
e649e27d4d
Bump zeroconf to resolve a performance issue with the cache reaper ( #39713 )
...
https://github.com/jstasiak/python-zeroconf/pull/297
2020-09-06 22:40:27 +02:00
J. Nick Koston and GitHub
d7e471e244
Add HomeKit discovery for iSmartGate ( #39702 )
2020-09-06 12:56:38 -05:00
J. Nick Koston and GitHub
9b23d7c2fd
Use the shared Zeroconf instance in esphome ( #38747 )
2020-09-04 21:01:41 +02:00
ebc31c0f08
Do not treat nexia http not found as invalid auth ( #39484 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io >
2020-09-04 16:54:27 +02:00
J. Nick Koston and GitHub
a096c20930
Fix missing assert in template test ( #39648 )
2020-09-04 16:28:56 +02:00
J. Nick Koston and GitHub
1034e4ec50
Bump nexia to 0.9.4 ( #39634 )
...
Fix for type missing in the json response
2020-09-03 20:54:48 -04:00
J. Nick Koston and GitHub
35e84d0427
Add as_local convenience function to jinja templates ( #39618 )
2020-09-03 14:35:16 -05:00
J. Nick Koston and GitHub
65e53b8251
Support reloading mqtt yaml configuration ( #39531 )
2020-09-02 20:16:21 -05:00
J. Nick Koston and GitHub
56e76a3265
Support reloading the smtp notify platform ( #39530 )
...
* Support reloading the smtp notify platform
* patch test
2020-09-02 19:43:07 -05:00
J. Nick Koston and GitHub
93555fed75
Support reloading the telegram notify platform ( #39529 )
...
* Support reloading the telegram notify platform
* services.yaml
2020-09-02 19:08:47 -05:00
J. Nick Koston and GitHub
661b593db3
Support reloading the rest notify platform ( #39527 )
...
* Support reloading the rest notify platform
* update services.yaml
* fix conflict
2020-09-02 18:25:43 -05:00
J. Nick Koston and GitHub
a778690b64
Support reloading the group notify platform ( #39511 )
2020-09-03 00:12:07 +02:00
45c28dd9c5
Provide a logbook option entity_matches_only to optimize for single entity lookup ( #39555 )
...
* Provide a logbook option entity_matches_only to optimize for single entity id lookup
When entity_matches_only is provided, contexts and events that do not
contain the entity_id are not included in the logbook response.
* Update homeassistant/components/logbook/__init__.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io >
* api only takes a single entity
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io >
2020-09-02 10:32:08 -05:00
J. Nick Koston and GitHub
e55a014e94
Undecorate RenderInfo result property ( #39108 )
2020-09-02 10:35:15 +02:00
J. Nick Koston and GitHub
3e9963a216
Overcome group concurrent setup limitation ( #39483 )
...
With a lot of groups the limitation that groups
had to be setup one at a time could account for
the bulk of startup time.
2020-09-02 10:14:16 +02:00
J. Nick Koston and GitHub
557684c3ce
Add ability to disable the sqlite3 quick_check ( #39479 )
2020-09-02 10:12:56 +02:00
J. Nick Koston and GitHub
762537d82d
Deprecate manually passing entity ids to template entities ( #39382 )
...
It is no longer necessary to provide a list of entities to monitor
to the template platforms.
The template is now re-evaluated whenever
a referenced entity changes state, and new entities are automaticlly
discovered.
Automatic analysis can now determine the entities for all templates
without the need for manual setup.
2020-09-01 08:53:50 -05:00
J. Nick Koston and GitHub
a77e09b2c2
Make async_track_template_result track multiple templates ( #39371 )
...
* Make async_track_template_result track multiple templates
Combine template entity updates to only write ha
state once per template group update
* Make async_track_template_result use dataclasses for input/output
* black versions
* naming
2020-08-31 19:07:40 -05:00
J. Nick Koston and GitHub
60d1606049
Fix kodi codeowners ( #39532 )
2020-08-31 16:18:12 -05:00
J. Nick Koston and GitHub
11e4ad2272
Bump zeroconf to 0.28.3 ( #39471 )
...
Changes:
https://github.com/jstasiak/python-zeroconf/pull/287
Hopefully this will fix the last round of HomeKit issues
2020-08-31 13:11:26 -05:00
J. Nick Koston and GitHub
4d637e5f30
Skip setup of dependencies if they are already setup ( #39482 )
...
after_dependencies were checking hass.config.components
to see if something was already setup. We did not do
the same for dependencies which resulted in trying
to set them up more then once.
Noticed when `homeassistant.setup` was set to debug
logging and many integrations were announcing
waiting on http when it was already setup.
2020-08-31 07:54:15 -04:00
J. Nick Koston and GitHub
4bbc737954
Fix light device trigger test flapping ( #39470 )
2020-08-30 14:34:16 -05:00
J. Nick Koston and GitHub
25f9560fb6
Update schluter to use CoordinatorEntity ( #39454 )
2020-08-30 14:19:48 -05:00
J. Nick Koston and GitHub
705b253a99
Update awair to use CoordinatorEntity ( #39469 )
2020-08-30 14:05:22 -05:00
J. Nick Koston and GitHub
56ddbd87b2
Fix recorder test intermittently failing ( #39468 )
2020-08-30 13:58:00 -05:00
J. Nick Koston and GitHub
9ec870c750
Update hunterdouglas_powerview to use CoordinatorEntity ( #39463 )
2020-08-30 13:28:09 -05:00
J. Nick Koston and GitHub
b57f33c41a
Update control4 to use CoordinatorEntity ( #39466 )
2020-08-30 13:27:46 -05:00
J. Nick Koston and GitHub
ab0b0dc51c
Update ovo_energy to use CoordinatorEntity ( #39459 )
2020-08-30 13:20:45 -05:00
J. Nick Koston and GitHub
1fbb158211
Update dexcom to use CoordinatorEntity ( #39464 )
2020-08-30 13:20:01 -05:00
J. Nick Koston and GitHub
c4f5a05b27
Update coolmaster to use CoordinatorEntity ( #39465 )
2020-08-30 13:18:19 -05:00
J. Nick Koston and GitHub
9d1045dd7a
Update met to use CoordinatorEntity ( #39462 )
2020-08-30 20:14:09 +02:00
J. Nick Koston and GitHub
2b78d5235d
Update risco to use CoordinatorEntity ( #39456 )
2020-08-30 13:04:30 -05:00
J. Nick Koston and GitHub
692ed8c639
Update notion to use CoordinatorEntity ( #39460 )
2020-08-30 13:02:56 -05:00
J. Nick Koston and GitHub
773860ca5c
Update plugwise to use CoordinatorEntity ( #39457 )
2020-08-30 13:02:27 -05:00
J. Nick Koston and GitHub
8b893173fd
Prevent CoordinatorEntity from requesting updates on disabled entities ( #39452 )
2020-08-30 12:10:22 -05:00
J. Nick Koston and GitHub
d9c9adbc91
Update tankerkoenig to use CoordinatorEntity ( #39440 )
2020-08-30 18:27:06 +02:00
J. Nick Koston and GitHub
225743a620
Update upnp to use CoordinatorEntity ( #39434 )
2020-08-30 18:17:41 +02:00
J. Nick Koston and GitHub
0a389a4651
Update sharkiq to use CoordinatorEntity ( #39427 )
...
* Update sharkiq to use CoordinatorEntity
Fix pylint
* revert
2020-08-30 09:52:48 -05:00
J. Nick Koston and GitHub
4a21b1f589
Update smart_meter_texas to use CoordinatorEntity ( #39426 )
2020-08-30 16:43:30 +02:00
854e33025b
Update nexia to use CoordinatorEntity ( #39391 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io >
2020-08-30 14:57:02 +02:00
J. Nick Koston and GitHub
0f5733ac59
Update cert_expiry to use CoordinatorEntity ( #39397 )
2020-08-30 14:41:18 +02:00
J. Nick Koston and GitHub
21f1875816
Update updater to use CoordinatorEntity ( #39396 )
2020-08-30 14:40:55 +02:00
J. Nick Koston and GitHub
2525d319a3
Update nut to use CoordinatorEntity ( #39394 )
2020-08-30 14:40:26 +02:00
J. Nick Koston and GitHub
4e876cb473
Update myq to use CoordinatorEntity ( #39393 )
2020-08-30 14:40:00 +02:00
J. Nick Koston and GitHub
a4f475245c
Update griddy to use CoordinatorEntity ( #39392 )
2020-08-30 14:39:07 +02:00
J. Nick Koston and GitHub
f7d1cfb625
Update powerwall to use CoordinatorEntity ( #39389 )
2020-08-30 14:37:11 +02:00
J. Nick Koston and GitHub
f8712b0e00
Create a CoordinatorEntity class to avoid repating code in integrations ( #39388 )
2020-08-30 12:02:37 +02:00
J. Nick Koston and GitHub
dda4cf4d58
Tune logbook performance to accomodate recent changes ( #39348 )
2020-08-30 09:20:31 +02:00
J. Nick Koston and GitHub
54ef16f01a
Reload notify platforms concurrently with asyncio.gather ( #39384 )
2020-08-29 22:23:57 +02:00
J. Nick Koston and GitHub
67de1d3466
Fix sun test to patch time since it is now refetched ( #39372 )
...
This accounts for the fix in #39335
2020-08-28 22:06:06 -05:00
J. Nick Koston and GitHub
92c06f0818
Ensure mobile_app notifications get re-registered after adding,removing,adding ( #39362 )
2020-08-28 14:08:09 -05:00
J. Nick Koston and GitHub
57848cdf35
Add the ability to reload ping platforms from yaml ( #39344 )
2020-08-28 12:40:30 -05:00
J. Nick Koston and GitHub
85869be2d8
Unregister mobile_app notification services when a device is removed ( #39359 )
2020-08-28 12:37:19 -05:00
J. Nick Koston and GitHub
3377f6b12a
Register mobile_app notification services when a new device is added ( #39356 )
...
* Register mobile_app notification services when a new device is added
* targets and base service use their own patterns to generate the name
2020-08-28 12:18:02 -05:00
J. Nick Koston and GitHub
d2195e2b37
Add support for reloading min_max from yaml ( #39327 )
...
* Add support for reloading min_max from yaml
* git add
2020-08-28 10:23:19 -05:00
J. Nick Koston and GitHub
414a59ae9f
Add the ability to reload homekit from yaml ( #39326 )
2020-08-28 16:46:45 +02:00
J. Nick Koston and GitHub
400741006b
Add the ability to reload generic platforms from yaml ( #39289 )
2020-08-28 16:44:51 +02:00
J. Nick Koston and GitHub
2109444ba5
Update time triggers to use async_track_state_change_event ( #39338 )
...
This was one of the ones missed in the
async_track_state_change to
async_track_state_change_event conversion.
2020-08-28 16:32:05 +02:00
J. Nick Koston and GitHub
f8704a2dfc
Ensure we always fire time pattern changes after microsecond 0 ( #39302 )
2020-08-28 16:27:25 +02:00
7c191388a9
Use icmplib for ping when available ( #39284 )
...
* Use icmplib for ping when available
* Update homeassistant/components/ping/binary_sensor.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io >
* Revert "Update homeassistant/components/ping/binary_sensor.py"
This reverts commit 618f42512a89834bb8b2ed7830e7e77d79a29f44.
* move it up so its easier to see
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io >
2020-08-28 08:50:09 -05:00
J. Nick Koston and GitHub
f914625b8a
Add the ability to reload history_stats platforms from yaml ( #39337 )
...
* Add the ability to reload history_stats platforms from yaml
* Increase coverage and cleanup
* Fix coverage
* services.yaml
2020-08-28 00:22:43 -05:00
J. Nick Koston and GitHub
77490287e9
Add the ability to reload generic_thermostat platforms from yaml ( #39291 )
2020-08-27 23:59:49 -05:00
J. Nick Koston and GitHub
f449620d38
Add the ability to reload filesize platforms from yaml ( #39347 )
2020-08-27 23:53:27 -05:00
J. Nick Koston and GitHub
0db5bb27a8
Add the ability to reload trend platforms from yaml ( #39341 )
2020-08-27 23:50:28 -05:00
J. Nick Koston and GitHub
ca05f8928d
Switch duckdns to use async_call_later ( #39339 )
2020-08-28 00:10:02 +02:00
J. Nick Koston and GitHub
f4f8aa3e52
Prevent duckdns from consuming 100% cpu when time abruptly moves forward ( #39334 )
2020-08-27 21:17:52 +02:00
J. Nick Koston and GitHub
79f4b6eb6b
Cleanup the rest reload test to use the pytest requests_mock fixture ( #39282 )
2020-08-26 17:53:11 +02:00
J. Nick Koston and Paulus Schoutsen
9678cbdde2
Fix time pattern listener firing a few microseconds early ( #39281 )
2020-08-26 15:52:01 +00:00
J. Nick Koston and GitHub
715fe4eef8
Fix time pattern listener firing a few microseconds early ( #39281 )
2020-08-26 17:50:25 +02:00
J. Nick Koston and GitHub
dc84196202
Add the ability to reload statistics platforms from yaml ( #39268 )
2020-08-26 14:52:19 +02:00
J. Nick Koston and GitHub
eaac00acfc
Add the ability to reload filter platforms from yaml ( #39267 )
...
* Add the ability to reload filter platforms from yaml
* force in memory db
* fix listener leak on un-load
2020-08-25 20:55:45 -05:00
J. Nick Koston and GitHub
215e3f2dab
Add the ability to reload command_line platforms from yaml ( #39262 )
2020-08-25 19:52:36 -05:00
J. Nick Koston and GitHub
5018e53b33
Add the ability to reload the rest platforms from yaml ( #39257 )
...
* Add the ability to reload rest platforms from yaml
* Revert changes to notify as these will be done in another pass
2020-08-25 19:05:29 -05:00
J. Nick Koston and GitHub
810df38f0d
Add the ability to reload light/cover groups from yaml ( #39250 )
...
* Add the ability to reload light/cover groups from yaml
Update previous usage to reduce code duplication.
* Fix conflict from rebase
2020-08-25 18:13:43 -05:00
J. Nick Koston and GitHub
e109b04efe
Add api to reload config entries ( #39068 )
2020-08-26 00:59:22 +02:00
J. Nick Koston and GitHub
c87e03ee6f
Ensure template tracking can recover after the template generates an exception ( #39256 )
2020-08-26 00:33:08 +02:00
J. Nick Koston and GitHub
90842fcb84
Support reloading the universal platform ( #39248 )
2020-08-26 00:25:15 +02:00
J. Nick Koston and GitHub
63ebea1706
Ensure the context is passed to group changes ( #39221 )
2020-08-26 00:22:10 +02:00
J. Nick Koston and GitHub
20398cc0a6
Subscribe to state change events only if the template has entities ( #39188 )
2020-08-26 00:20:04 +02:00
J. Nick Koston and GitHub
3a7620bd08
Update sense icon mappings ( #39225 )
2020-08-24 21:35:48 -05:00
J. Nick Koston and GitHub
6b7a7939d2
Include the first seen context data in the logbook api ( #39194 )
...
* Include the context_entity_id in the logbook api
context_entity_id is the first entity seen during
a time period that includes the context
* update test
* more of them
* include friendly name
* pylint wants a ternary
* Refactor
* performance
* fix homekit context
* Fix self describing events
* Fix external_events
2020-08-24 12:44:40 -05:00
J. Nick Koston and GitHub
bee6d87e7a
Standardize uuid generation for events/storage/registry ( #39184 )
2020-08-24 17:21:30 +02:00
J. Nick Koston and GitHub
c3ad493bb7
Report usage of extract_entities by custom components ( #39185 )
...
Block core usage usage of extract_entities
Suggest event.async_track_template_result instead.
2020-08-23 19:38:45 +02:00
J. Nick Koston and GitHub
b68c5cec94
Convert bayesian binary_sensor to use async_track_template_result ( #39174 )
...
Add coverage to reach 100% line coverage
2020-08-23 09:59:26 +02:00
J. Nick Koston and GitHub
42227c1c53
Improve the performance of dt_util.utcnow() ( #39145 )
2020-08-23 09:57:58 +02:00
J. Nick Koston and GitHub
3cc099af80
Make emulated_hue upnp responder async ( #39126 )
2020-08-23 09:50:59 +02:00
J. Nick Koston and GitHub
9baf3ff706
Update universal media_player to use async_track_template_result ( #39054 )
...
* Update universal media_player to use async_track_template_result
* Review comments and add missing test cover
2020-08-22 18:12:53 -05:00