Commit Graph

89 Commits (fad531415443d2283b0a3199a562207a56932111)

Author SHA1 Message Date
Jesse Hills e5129042ad
Fix ESPHome state watching when new state is None (#59528) 2021-11-14 16:49:45 +01:00
Marc Mueller 4c68662612
Use assignment expressions 34 (#58823) 2021-10-31 19:01:16 +01:00
Jesse Hills 6d30105c9f
Add configuration_url to ESPHome (#58565) 2021-10-28 21:04:00 -07:00
Paulus Schoutsen e1e864d2b6
Get the registry using the callback method (#58542) 2021-10-27 15:58:14 -07:00
Jesse Hills c656bf1646
Add entity categories to esphome (#58495) 2021-10-27 12:53:39 +13:00
epenet 48c85fb839
Use DeviceInfo on esphome (#58396)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-25 13:16:53 +02:00
Paul Monigatti a3b3c4ebad
Consolidate ESPHome icon-handling code into EsphomeEntity (#57744) 2021-10-22 18:21:41 +02:00
Otto Winter df4e8721e9
ESPHome move ReconnectLogic to aioesphomeapi (#57601) 2021-10-13 10:04:23 -07:00
J. Nick Koston d08b65db7d
Update esphome reconnect logic to use newer RecordUpdateListener logic (#57057) 2021-10-04 19:52:08 +02:00
Otto Winter da63a96273
ESPHome fix zeroconf add_listener issue (#57031) 2021-10-04 13:17:42 +02:00
Marc Mueller a91fbec198
Use NamedTuple for esphome service metadata (#56754) 2021-09-28 16:58:36 -07:00
Otto Winter a54854d129
ESPHome Noise Transport Encryption support (#56216) 2021-09-20 09:02:17 +02:00
Marc Mueller 48bada5a18
Update pylint to 2.11.1 (#56364) 2021-09-18 13:52:59 +02:00
Oxan van Leeuwen 6e7ce89c64
Fix attribute access on None on startup in ESPHome (#56105) 2021-09-11 20:53:29 +02:00
Jesse Hills 672a74fa37
Allow esphome entities to be disabled by default (#53898) 2021-08-03 14:53:48 +02:00
Jesse Hills ec5d55dc30
Auto reset on value going back to 0 in ESPHome (#53592)
* ESPHome - Auto reset on value going back to 0

* Remove logging lines

* Remove useless stuff

* Move callback to sensor class
Wrap `track_change_event` in `async_on_remove`

* Convert to using internal callbacks and RestoreEntity

* Don't document fixmes?

* Review fixes

* Review fixes

Co-authored-by: Otto winter <otto@otto-winter.com>
2021-07-28 13:56:45 +02:00
Otto Winter 51e4f66b82
Fix ESPHome services when .storage cleared (#53488) 2021-07-26 09:33:06 +02:00
Otto Winter 4d16cda957
ESPHome enable static type checking (#52348) 2021-07-12 22:56:10 +02:00
Otto Winter f772eab7b7
ESPHome delete store data when unloading entry (#52296) 2021-06-29 15:06:24 -07:00
Otto Winter b43d0877e7
ESPHome Migrate to dataclasses (#52305) 2021-06-29 19:53:57 +02:00
Otto Winter 3e1d32f4e0
ESPHome Climate add preset, custom preset, custom fan mode (#52133)
* ESPHome Climate add preset, custom preset, custom fan mode

* Fix copy paste error

* Bump aioesphomeapi to 3.0.0

* Bump aioesphomeapi to 3.0.1

* Persist api version to prevent exception for offline devices
2021-06-28 13:43:45 +02:00
Otto Winter 03ec7b3d0b
ESPHome rework EsphomeEnumMapper for safe enum mappings (#51975) 2021-06-21 21:22:38 -07:00
Michael b1138b1aab
Add constructor return type in integrations E-K (#50902) 2021-05-20 18:47:30 +03:00
Franck Nijhof a16629601a
Add support for tracking entity attributes in ESPHome (#50528) 2021-05-13 15:39:53 -07:00
Franck Nijhof 72f342aa5b
Upgrade aioesphomeapi to 2.7.0 (#50522) 2021-05-12 15:21:54 +02:00
Ville Skyttä 44a790ab47
Entity.device_info typing fixes (#49974) 2021-05-10 22:11:51 -07:00
Franck Nijhof 98ef1e1e82
Remove stale config schema from ESPHome integration (#50083) 2021-05-04 22:18:46 +02:00
J. Nick Koston a67b9eff17
Reduce config entry setup/unload boilerplate D-F (#49733) 2021-04-26 20:46:49 -10:00
Franck Nijhof 168b3c100c
Remove HomeAssistantType alias - Part 4 (#49515) 2021-04-21 12:18:42 +02:00
Guillermo Ruffino cf51e07953
Fix esphome registering invalid service name (#49398) 2021-04-19 08:31:43 +02:00
J. Nick Koston c1e788e665
Only listen for zeroconf when the esphome device cannot connect (#48645) 2021-04-03 17:11:32 -07:00
Franck Nijhof 52475c108f
Make integration setup optional (#48381) 2021-03-29 13:53:47 -07:00
Otto Winter 0193f16ae9
ESPHome trigger reconnect immediately when mDNS record received (#48129) 2021-03-20 14:49:03 -10:00
Marc Mueller 91df3fa904
Update typing 06 (#48039) 2021-03-17 23:49:01 +01:00
Guillermo Ruffino 02619ca2cd
Add service schema for ESPHome api services (#47426) 2021-03-17 22:50:21 +01:00
Anders Melchiorsen c8c394ef91
Increase ESPHome log level on first connection failure (#47547) 2021-03-07 11:36:28 +01:00
Anders Melchiorsen 79ebe930e3
Limit log spam by ESPHome (#47456) 2021-03-05 16:16:07 +01:00
Franck Nijhof 603191702f
Cleanup of possibily confusing comment in esphome (#46903) 2021-02-22 14:43:29 +01:00
tkdrob 29d8b8a22f
Some code cleanups for ESPHome (#46367) 2021-02-11 10:19:39 +01:00
Paulus Schoutsen 9e07910ab0
Mark entities as unavailable when they are removed but are still registered (#45528)
* Mark entities as unavailable when they are removed but are still registered

* Add sync_entity_lifecycle to collection helper

* Remove debug print

* Lint

* Fix tests

* Fix tests

* Update zha

* Update zone

* Fix tests

* Update hyperion

* Update rfxtrx

* Fix tests

* Pass force_remove=True from integrations

Co-authored-by: Erik <erik@montnemery.com>
2021-02-08 10:45:46 +01:00
Jesse Hills f78b02b163
Do not try to connect to disabled ESPHome devices. (#45092) 2021-01-13 15:17:13 +01:00
Olivér Falvai dd4147fbaa
Log unique_id of device when ESPHome connection fails (#44152) 2020-12-12 10:44:45 -07:00
J. Nick Koston 9d0cd9c1b1
Convert most esphome state updates to callbacks (#43246) 2020-11-15 22:18:23 +01:00
Paulus Schoutsen b515480a98
Fix ESPHome scan tag device ID (#40132) 2020-09-16 13:17:05 +02:00
Jesse Hills 16e0ed9242
Use device name stored in device_info for tag scan in ESPHome (#40130) 2020-09-16 12:22:06 +02:00
Jesse Hills d650bcca3b
Allow ESPHome to trigger the HA tag scanned event (#40128) 2020-09-16 11:54:59 +02:00
J. Nick Koston 9b23d7c2fd
Use the shared Zeroconf instance in esphome (#38747) 2020-09-04 21:01:41 +02:00
Ville Skyttä 1bf2c4d976
Upgrade pylint to 2.6.0 (#39363) 2020-08-29 07:59:24 +02:00
J. Nick Koston 5cd6370822
Switch async_track_state_change to the faster async_track_state_change_event part 3 (#37852)
async_track_state_change_event is faster than async_track_state_change
2020-07-14 09:40:01 -10:00
Mateusz Soszyński 663acfe89f
Add host names in esphome logs (#37587) 2020-07-07 19:15:45 +02:00