Commit Graph

20241 Commits (f173805c2fe455714622a1e23f3d6143377c4b15)

Author SHA1 Message Date
Joakim Plate f173805c2f
Make sensor and binary_sensor inherit from base class (#37946)
* Make sensor and binary_sensor inherit from base class

* Drop several pointless public properties

* Make sure base function has same parameters

* Drop pass

* Missed one

* Adjust inherit order
2020-07-18 13:43:38 +02:00
J. Nick Koston b030ed1adf
fix (#37889) 2020-07-18 07:25:07 -04:00
J. Nick Koston ad22619efb
Bump zeroconf to 0.28.0 (#37951) 2020-07-17 21:47:43 -10:00
Xiaonan Shen 394194d1e6
Add switch to pi_hole integration (#35605)
Co-authored-by: Ian <vividboarder@gmail.com>
2020-07-17 23:19:01 -07:00
J. Nick Koston 1acdb28cdd
Automatically recover when the sqlite3 database is malformed or corrupted (#37949)
* Validate sqlite database on startup and move away if corruption is detected.

* do not switch context in test -- its all sync
2020-07-17 19:07:37 -10:00
Shulyaka 9ae08585dc
Add humidifier device triggers (#36887)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-07-17 21:57:52 -07:00
jjlawren a7dfa60208
Fix Sonos speaker lookup for Plex (#37942) 2020-07-17 18:18:53 -07:00
HomeAssistant Azure 72309a0dfc [ci skip] Translation update 2020-07-18 00:02:49 +00:00
Joakim Plate d0040e60cc
Rftrx force update (#37944)
* Make sure sensor and binary_sensor force update

This make sure it's possible to react to events on all updates.

* Correct addition of binary sensors
2020-07-18 01:23:49 +02:00
Ivan Belokobylskiy cecdce07cc
Fix Yandex transport Integration, add signature to requests (#37365) 2020-07-17 12:55:30 -07:00
Shulyaka cee136ec55
Add humidifier device conditions (#36962) 2020-07-17 11:33:52 -07:00
Shulyaka 7c9ef39ef6
Add humidifier intents (#37335)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-07-17 11:20:34 -07:00
Martin Weinelt 2e4b4dc188
prometheus: Reduce loglevel of failed float conversion to debug (#37936)
It creates alot of useless noise currently.

Fixes #30186
2020-07-17 20:18:35 +02:00
Daniel Shokouhi 6ad794e1f8
Switch back to create task for Neato (#37913) 2020-07-17 09:29:20 -07:00
rajlaud 1e8676bf2c
Fix bugs updating state of `hdmi_cec` switch (#37786) 2020-07-17 09:21:42 -07:00
Abílio Costa 8beaccf2dd
Change ZHA power unit from kW to W (#37896)
* Change ZHA power unit from kW to W

* Use POWER_WATT

* Move kW to W conversion; ignore unit for power
2020-07-17 10:04:04 -04:00
Marcel van der Veldt 24ed932b01
Add ozw support for single setpoint thermostat devices (#37713)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-07-17 14:25:16 +02:00
Tim Messerschmidt 0297c9e612
Fix: Passes secure parameter when setting up Nuki (#36844) (#37932)
* Passes secure parameter when setting up Nuki (#36844)

* Adds an additional configuration option for soft bridges instead of passing True when setting up the bridge

* Revert "Adds an additional configuration option for soft bridges instead of passing True when setting up the bridge"

This reverts commit af1d839ab1.
2020-07-17 13:04:12 +02:00
Joakim Plate 7c9be024bb
Rfxtrx use previous received event to do complete restore (#37819)
* Add event attribute to display last received event

* Restore state using event attribute

* Allow empty dict for device config

* Must also validate normal case

* Do early return
2020-07-17 10:27:07 +02:00
Eugene Prystupa aaf084d713
Apply feedback on bond integration (#37921) 2020-07-16 21:25:04 -05:00
Chris a6129467aa
Add RGB light support to ozw (#37636) 2020-07-16 18:10:36 -07:00
Perry Naseck 93919dea88
Add Firmata Integration (attempt 2) (#35591) 2020-07-16 17:58:45 -07:00
Anders Melchiorsen 2d93f8eae8
Upgrade pysonos to 0.0.32 (#37923) 2020-07-16 17:26:29 -07:00
cgtobi baa7bb69b3
Fix unavailable when value is zero (#37918) 2020-07-17 00:28:49 +02:00
Alexei Chetroi 33dc015083
Fix ZHA electrical measurement sensor initialization (#37915)
* Refactor cached ZHA channel reads.

If doing a cached ZCL attribute read, do "only_from_cache" read for
battery operated devices only. Mains operated devices will do a network
read in case of a cache miss.

* Use cached attributes for ZHA electrical measurement

* Bump up ZHA zigpy dependency.
2020-07-16 16:25:42 -04:00
Bram Kragten a224b944e9
Updated frontend to 20200716.0 (#37910) 2020-07-16 20:18:31 +02:00
Eugene Prystupa 37a70c73a5
Improve bond startup performance (#37900) 2020-07-16 10:31:15 -05:00
mdegat01 16e5d02794
Add `ignore_attributes` option to influxdb (#37747)
* Added ignore_attributes option and tests

* adjusted config for overlapping customization with ignore attrs
2020-07-16 09:42:02 +02:00
Sly Gryphon 4ef581622d
Feature/izone temperature precision (#37669)
* Change to precision tenths for current temp
2020-07-16 08:05:31 +08:00
J. Nick Koston 9db6318122
Remove support for legacy logbook events created before 0.112 (#37822)
* Remove support for legacy logbook events created before 0.112

Reduce the complexity of the logbook code.  This
should also have a small performance boost.

* None is the default
2020-07-15 10:38:08 -10:00
Bram Kragten 261f0b971c
Update frontend to 20200715.1 (#37888) 2020-07-15 21:35:33 +02:00
Pascal Vizeli f4c3f5d074
Revert breaking change for Automation (#37885)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-07-15 20:38:29 +02:00
J. Nick Koston abe3e3094e
Provide workaround for missing/disabled/broken IPv6 (#37887) 2020-07-15 11:26:40 -07:00
Erik Montnemery 53d6f4948e
Adapt MQTT config flow to default birth and will (#37875) 2020-07-15 11:16:03 -07:00
Bram Kragten 1b09c65e74
Updated frontend to 20200715.0 (#37884) 2020-07-15 07:41:39 -10:00
Daniel Shokouhi f24fe9c246
Improve Neato error logging by including device name (#37865) 2020-07-15 09:26:57 -07:00
Xiaonan Shen d37a5cdde5
Fix yeelight flash (#37743)
* Fix yeelight flash

* Use cast instead of string comparison

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2020-07-15 15:51:33 +02:00
shker c3724186cf
Use supervisord "group:name" when get process info (#37678) 2020-07-15 13:45:29 +02:00
Paulus Schoutsen 633f9b2f01
Prefer external URLs because internal can't have valid SSL (#37872) 2020-07-15 09:23:16 +02:00
J. Nick Koston 1d7f3416d3
Switch async_track_state_change to the faster async_track_state_change_event part 7 (#37870)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-07-14 23:37:25 -07:00
J. Nick Koston 44fefb3216
Improve handling of template platforms when entity extraction fails (#37831)
Most of the the template platforms would check for
extract_entities failing to extract entities and avoid
setting up a state change listner for MATCH_ALL after
extract_entities had warned that it could not extract
the entities and updates would need to be done manually.
This protection has been extended to all template platforms.

Alter the behavior of extract_entities to return the
successfully extracted entities if one or more templates
fail extraction instead of returning MATCH_ALL
2020-07-14 22:34:35 -07:00
J. Nick Koston e938dcfbda
Switch universal media_player to use async_track_state_change_event (#37832)
async_track_state_change_event is faster than async_track_state_change
and since we do not care about the data being returned to the callback
this is a simple speedup
2020-07-14 22:32:03 -07:00
J. Nick Koston 20d5d3c162
Switch a few more async_track_state_change to the faster async_track_state_change_event (#37833)
async_track_state_change_event is faster than async_track_state_change
and since we do not care about the data being returned to the callback
this is a simple speedup
2020-07-14 22:31:34 -07:00
J. Nick Koston b12566e265
Switch async_track_state_change to the faster async_track_state_change_event (#37834)
async_track_state_change_event is faster than async_track_state_change
2020-07-14 22:30:47 -07:00
J. Nick Koston b430496b13
Switch async_track_state_change to the faster async_track_state_change_event part 4 (#37863)
* Switch async_track_state_change to the faster async_track_state_change_event part 4

Calling async_track_state_change_event directly is faster than async_track_state_change (see #37251) since async_track_state_change is a wrapper around async_track_state_change_event now

* pylint
2020-07-14 22:25:48 -07:00
J. Nick Koston aed98a830f
Switch async_track_state_change to the faster async_track_state_change_event part 5 (#37866)
Calling async_track_state_change_event directly is faster than async_track_state_change (see #37251) since async_track_state_change is a wrapper around async_track_state_change_event now
2020-07-14 22:25:12 -07:00
J. Nick Koston e65235b207
Switch async_track_state_change to the faster async_track_state_change_event part 6 (#37869)
Calling async_track_state_change_event directly is faster than async_track_state_change (see #37251) since async_track_state_change is a wrapper around async_track_state_change_event now
2020-07-14 22:24:27 -07:00
J. Nick Koston bf72e3c965
Update august manufacturer name (#37867)
* Update august manufacturer name

This allows homekit to link the accessories to the august app

* yeah.. update the test
2020-07-14 18:03:24 -10:00
Eugene Prystupa b07d09f7dc
Add support for fireplaces to bond integration (#37850) 2020-07-14 22:27:03 -05:00
HomeAssistant Azure e852a2eb9b [ci skip] Translation update 2020-07-15 00:02:40 +00:00