Commit Graph

498 Commits (d72c28a1357dba0bef25ee0acc2f07e628109458)

Author SHA1 Message Date
GitHub Action ff3fd4c29d [ci skip] Translation update 2022-08-16 00:30:51 +00:00
GitHub Action 6e03b12a93 [ci skip] Translation update 2022-08-13 00:25:00 +00:00
GitHub Action 7c81f790a7 [ci skip] Translation update 2022-08-12 00:23:47 +00:00
GitHub Action 519d478d61 [ci skip] Translation update 2022-08-11 00:26:23 +00:00
GitHub Action cb46441b74 [ci skip] Translation update 2022-08-05 00:28:51 +00:00
GitHub Action 33c635809c [ci skip] Translation update 2022-07-27 00:28:57 +00:00
GitHub Action 87797c8b66 [ci skip] Translation update 2022-07-21 00:26:18 +00:00
Marc Mueller d09fff595c
Rename existing TypeVars referencing Self type (#75473) 2022-07-20 03:03:22 +02:00
Marc Mueller 672883e19d
Remove old type casting in esphome (#75475) 2022-07-20 02:50:37 +02:00
Peter Galantha 3d2101cac5
Add total state_class for esphome (#75015) 2022-07-14 21:14:25 +02:00
GitHub Action a3fd5acf3f [ci skip] Translation update 2022-07-13 00:27:34 +00:00
J. Nick Koston cd03c49fc2
Wait for config entry platform forwards (#73806) 2022-07-09 17:27:42 +02:00
GitHub Action cdaefc8fda [ci skip] Translation update 2022-07-09 00:20:23 +00:00
GitHub Action 235abb0c10 [ci skip] Translation update 2022-07-07 00:27:55 +00:00
GitHub Action ebc8fba5bf [ci skip] Translation update 2022-07-05 00:23:09 +00:00
J. Nick Koston 40ed44cbea
Fix esphome state mapping (#74337) 2022-07-03 13:48:34 -07:00
GitHub Action 8581db1da7 [ci skip] Translation update 2022-07-03 00:26:52 +00:00
GitHub Action 647a023776 [ci skip] Translation update 2022-07-02 00:25:27 +00:00
J. Nick Koston 7655b84494
Fix key collision between platforms in esphome state updates (#74273) 2022-06-30 22:19:40 -07:00
GitHub Action 3970639c34 [ci skip] Translation update 2022-07-01 00:27:03 +00:00
R. de Veen 3899c9e6d3
Links to Esphomelib.com is changed to esphome.io (#72680) 2022-06-30 20:27:31 +02:00
Jesse Hills f311d53c60
ESPHome use dhcp responses to update connection host of known devices (#74206)
* ESPHome use dhcp responses to update connection host of known devices

* Add test for dhcp

* Add another test to cover when there are no changes required
2022-06-30 10:07:03 -07:00
J. Nick Koston ce03157f16
Add debug logging to esphome state updates (#74260) 2022-06-30 10:05:29 -07:00
epenet b51ad16db9
Adjust button type hints in components (#74132) 2022-06-28 17:19:03 +02:00
epenet dc039f5218
Use standard argument name in async_step_reauth (#74137) 2022-06-28 17:12:32 +02:00
epenet 38759bb98b
Adjust tilt_position method in esphome cover (#74041) 2022-06-28 11:08:31 +02:00
epenet 10dc38e0ec
Adjust CoverEntity property type hints in components (#73943)
* Adjust CoverEntity property type hints in components

* Revert changes to rflink

* Revert changes to wilight
2022-06-25 11:59:56 +02:00
epenet 837957d89e
Adjust set_percentage routine in fans (#73837) 2022-06-22 18:22:01 +02:00
epenet bd29b91867
Use Mapping for async_step_reauth (a-e) (#72763)
* Adjust abode

* Adjust airvisual

* Adjust aladdin_connect

* Adjust ambee

* Adjust aussie-broadband

* Adjust brunt

* Adjust cloudflare

* Adjust deconz

* Adjust deluge

* Adjust devolo_home_control

* Adjust efergy

* Adjust esphome
2022-06-20 09:08:11 +02:00
Erik Montnemery 1f7340313a
Migrate NumberEntity a-j to native_value (#73486) 2022-06-14 08:16:36 -10:00
J. Nick Koston a7f72931ad
Simplify esphome state updates (#73409) 2022-06-12 20:12:49 -07:00
Jesse Hills ca54eaf40d
Fix KeyError from ESPHome media players on startup (#73149) 2022-06-07 11:02:08 +12:00
Erik Montnemery 47d0cc9b09
Update integrations to pass target player when resolving media (#72597) 2022-05-27 09:05:06 -07:00
GitHub Action ceb8bb4745 [ci skip] Translation update 2022-05-21 00:22:49 +00:00
GitHub Action 9a3ecacf6b [ci skip] Translation update 2022-05-20 00:21:27 +00:00
Jesse Hills 8ff0ced846
Initial implementation of ESPHome media players (#72047)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-05-18 09:46:13 -07:00
Jesse Hills 23cb5cfd3f
Bump aioesphomeapi to 10.10.0 (#72083) 2022-05-18 14:27:02 +02:00
Jesse Hills 2bb6e4bb87
Bump aioesphomeapi to 10.9.0 (#72049) 2022-05-18 08:15:15 +02:00
GitHub Action 37f81b261d [ci skip] Translation update 2022-05-16 00:24:28 +00:00
GitHub Action 07706fa62a [ci skip] Translation update 2022-05-06 00:22:16 +00:00
GitHub Action 348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00:00
epenet c3353e4726
Use climate enums in esphome (#70638) 2022-04-26 09:58:30 +02:00
epenet 31fbc088fe
Use ColorMode enum in esphome (#70490) 2022-04-23 09:13:40 -10:00
Franck Nijhof a22f36178f
Replace Climate HVAC_MODE_* constants with HVACMode enum (#70286)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-20 13:20:53 +02:00
epenet dae2cf2827
Use EntityFeature enum in esphome (#69386) 2022-04-06 11:52:59 +02:00
Jesse Hills 0558be0ab2
ESPHome: Remove disconnect callbacks after they are done (#69169) 2022-04-03 17:19:23 +02:00
Marc Mueller 53110f8cb7
Update pylint to 2.13.2 (#68704) 2022-03-27 16:08:24 +02:00
Marc Mueller 911b159281
Cleanup after pylint update (#68657) 2022-03-26 00:34:12 +01:00
Jesse Hills 994ea04c85
Add device_id into ESPHome event data (#68408) 2022-03-20 13:14:07 +01:00
GitHub Action c64b4d997b [ci skip] Translation update 2022-03-13 00:18:58 +00:00
J. Nick Koston 723dcbafca
Complete fan speed transition from #59781 (#67743) 2022-03-09 10:38:12 +01:00
epenet e37402e1d5
Import tag (#64539)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-23 09:55:31 -08:00
GitHub Action c4cc6ca0ba [ci skip] Translation update 2022-02-20 00:20:09 +00:00
Keilin Bickar 2bc2f85b1b
Support for lock domain in esphome (#65280) 2022-02-14 18:31:46 +01:00
Otto Winter 1f4ee3c265
Bump aioesphomeapi from 10.8.1 to 10.8.2 (#66189) 2022-02-09 17:54:27 +01:00
Paulus Schoutsen 5da923c341
Protect state.as_dict from mutation (#65693) 2022-02-04 14:45:25 -08:00
Oxan van Leeuwen d22fc99294
Add device class to ESPHome switches (#64919)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-02-04 09:23:30 +13:00
Jesse Hills 6e36bdb907
Expose ESPHome project information in device information (#65466) 2022-02-02 17:05:12 -08:00
GitHub Action ca7d4234e1 [ci skip] Translation update 2022-01-31 00:14:28 +00:00
Jesse Hills 8b5e76b898
Fix comment typo in ESPHome diagnostics (#65268) 2022-01-30 23:53:46 +02:00
GitHub Action 77ef86faee [ci skip] Translation update 2022-01-30 00:14:21 +00:00
J. Nick Koston 5b755b74fb
Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
GitHub Action dd4e5bb9c5 [ci skip] Translation update 2022-01-27 00:14:02 +00:00
Jesse Hills cb2f5b5ed5
Add diagnostics download to ESPHome (#65008) 2022-01-26 14:35:41 -08:00
GitHub Action 3c1d1bd060 [ci skip] Translation update 2022-01-26 00:15:14 +00:00
Otto Winter a65a0b5903
ESPHome prevent connecting to different hosts when IP reassigned (#64559) 2022-01-24 08:29:29 +01:00
Jesse Hills 8736b0649b
Fix ESPHome ReconnectLogic to make faster connection when device comes online (#64697) 2022-01-23 20:14:17 +01:00
Franck Nijhof 176f03d4ac
Allow toggles (switches) state to be None (#64621) 2022-01-23 11:31:01 +01:00
Jesse Hills acd88e1c61
Bump aioesphomeapi to 10.7.0 (#64495) 2022-01-20 09:38:58 +01:00
GitHub Action c6d481ca01 [ci skip] Translation update 2022-01-17 00:14:48 +00:00
Marc Mueller 67c35652f0
Update typing - collections.abc (2) (#63934) 2022-01-12 09:04:37 +01:00
GitHub Action ea0b24a5f0 [ci skip] Translation update 2022-01-03 00:14:23 +00:00
GitHub Action 93758e2e6c [ci skip] Translation update 2022-01-01 00:14:34 +00:00
Tobias Sauerwein 2c904c0974
Bump mypy to 0.930 (#62642)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-12-27 17:55:17 +01:00
GitHub Action cc92aa557a [ci skip] Translation update 2021-12-26 00:15:41 +00:00
GitHub Action cceedf766a [ci skip] Translation update 2021-12-22 00:14:51 +00:00
GitHub Action babd753610 [ci skip] Translation update 2021-12-21 00:15:06 +00:00
GitHub Action f75b325ab2 [ci skip] Translation update 2021-12-12 00:14:30 +00:00
epenet e50c00ea06
Use new enums in esphome (#61391)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-10 09:56:20 +01:00
GitHub Action 68ca0a05c8 [ci skip] Translation update 2021-12-04 00:13:16 +00:00
Jesse Hills 8630022e92
Add mode to ESPHome numbers (#60653) 2021-11-30 20:19:14 +01:00
Jesse Hills 683bb13f50
Support unit of measurement in ESPHome numbers (#60591) 2021-11-30 15:20:40 +01:00
Franck Nijhof 9b9801516b
Migrate button device classes to StrEnum (#60611) 2021-11-30 11:54:06 +01:00
epenet 416976dd39
Use dataclass properties in esphome discovery (#60606)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 11:03:08 +01:00
Franck Nijhof b996f624db
Ensure ESPHome device classes are valid (#60594) 2021-11-30 09:44:39 +01:00
Jesse Hills e17759410c
Esphome button device class (#60569) 2021-11-30 08:33:14 +01:00
Jesse Hills dd001cacfd
Fix missing name for ESPHome reauth dialog (#60508) 2021-11-29 10:06:56 +01:00
Jesse Hills 622d9606a5
Esphome/button (#60522) 2021-11-29 09:57:37 +01:00
GitHub Action d3c020325b [ci skip] Translation update 2021-11-25 00:13:33 +00:00
GitHub Action 9e606abb0c [ci skip] Translation update 2021-11-23 00:13:54 +00:00
GitHub Action 29dc9de08f [ci skip] Translation update 2021-11-19 00:14:01 +00:00
Franck Nijhof 4a83ee5dab
Use native datetime value in ESPHome sensors (#59896) 2021-11-18 15:32:39 +01:00
GitHub Action 9a85c8d894 [ci skip] Translation update 2021-11-18 00:12:48 +00:00
GitHub Action 0228d11546 [ci skip] Translation update 2021-11-16 00:18:33 +00:00
epenet 4f7e405a2c
Use zeroconf attributes in esphome (#58963)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 20:26:50 +01:00
epenet b3ffc1e183
Adjust async_step_zeroconf signature for strict typing (#59503)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 18:05:45 +01:00
Jesse Hills e5129042ad
Fix ESPHome state watching when new state is None (#59528) 2021-11-14 16:49:45 +01:00
GitHub Action fc539da42b [ci skip] Translation update 2021-11-14 00:12:48 +00:00
GitHub Action 3f2b1fa952 [ci skip] Translation update 2021-11-12 00:12:35 +00:00
GitHub Action 34bc1298aa [ci skip] Translation update 2021-11-11 00:15:23 +00:00
GitHub Action 86b12af3dc [ci skip] Translation update 2021-11-10 00:17:39 +00:00
GitHub Action e35b83081e [ci skip] Translation update 2021-11-08 00:12:31 +00:00
GitHub Action 7b59dea67e [ci skip] Translation update 2021-11-06 00:11:41 +00:00
GitHub Action c8d8513a1a [ci skip] Translation update 2021-11-05 00:13:45 +00:00
GitHub Action 4e419d8c6f [ci skip] Translation update 2021-11-01 00:13:04 +00:00
Marc Mueller 4c68662612
Use assignment expressions 34 (#58823) 2021-10-31 19:01:16 +01:00
Marc Mueller a48ddcadd4
Use assignment expressions 31 (#58715) 2021-10-30 16:29:07 +02: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
GitHub Action 30fb619095 [ci skip] Translation update 2021-10-24 00:12:57 +00:00
Paul Monigatti a3b3c4ebad
Consolidate ESPHome icon-handling code into EsphomeEntity (#57744) 2021-10-22 18:21:41 +02:00
Marc Mueller 2a8eaf0e0f
Use assignment expressions 06 (#57786) 2021-10-17 20:05:11 +02:00
GitHub Action c76e15149c [ci skip] Translation update 2021-10-17 00:12:27 +00:00
Otto Winter df4e8721e9
ESPHome move ReconnectLogic to aioesphomeapi (#57601) 2021-10-13 10:04:23 -07:00
Otto Winter 5b218d7e1c
Bump aioesphomeapi from 9.1.4 to 9.1.5 (#57106) 2021-10-05 11:49:39 +02:00
J. Nick Koston d08b65db7d
Update esphome reconnect logic to use newer RecordUpdateListener logic (#57057) 2021-10-04 19:52:08 +02:00
Paulus Schoutsen eb9b9c57a4 [ci skip] Translation update 2021-10-04 08:38:24 -07:00
Otto Winter bf9f55c376
Bump aioesphomeapi from 9.1.2 to 9.1.4 (#57036) 2021-10-04 13:23:11 +02:00
Otto Winter da63a96273
ESPHome fix zeroconf add_listener issue (#57031) 2021-10-04 13:17:42 +02:00
GitHub Action 06602e6cc5 [ci skip] Translation update 2021-10-03 00:13:50 +00:00
GitHub Action f42c2f5170 [ci skip] Translation update 2021-10-02 12:59:05 +00:00
Otto Winter dc40de6b62
Bump aioesphomeapi from 9.1.0 to 9.1.2 (#56879) 2021-10-01 12:11:06 +02:00
Oxan van Leeuwen c6f48056fd
Remove dead code from ESPHome light entity (#55519) 2021-09-30 12:12:37 +02:00
Marc Mueller d51487f82a
Import Callable from collections.abc (3) (#56777) 2021-09-29 16:19:06 +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
Otto Winter 46159c3f18
ESPHome light color mode use capabilities (#55206)
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
2021-09-01 10:03:41 +02:00
GitHub Action 65d14909ee [ci skip] Translation update 2021-08-27 00:14:42 +00:00
Otto Winter e633cc177e
ESPHome sensor use total_increasing state class (#55208) 2021-08-25 15:33:26 +02:00
Jesse Hills e06f3a5e95
Bump aioesphomeapi to 7.0.0 (#55129) 2021-08-23 22:40:01 -05:00
Oxan van Leeuwen 844000556f
Set correct ESPHome color mode when setting color temperature (#54596) 2021-08-16 16:16:36 +02:00
Jesse Hills 41d932fcf8
Send color_brightness to ESPHome devices on 1.20 (pre-color_mode) (#54670) 2021-08-15 19:56:21 -07:00
Oxan van Leeuwen 2c181181e1
Clamp color temperature to supported range in ESPHome light (#54595)
ESPHome devices initially report a color temperature of 0 or 1 until it
has been changed by the user. This broke the conversion from RGBWW to
an RGB color.

Fixes #54293.
2021-08-13 23:27:47 -07:00
Erik Montnemery 41f3c2766c
Move temperature conversions to entity base class (2/8) (#54468) 2021-08-11 18:57:12 +02:00
J. Nick Koston e99576c094
Pass width and height when requesting camera snapshot (#53835) 2021-08-10 19:33:06 -05:00
Jesse Hills 672a74fa37
Allow esphome entities to be disabled by default (#53898) 2021-08-03 14:53:48 +02:00
Jesse Hills 15d36734b0
Bump aioesphomeapi to 6.0.1 (#53905) 2021-08-03 13:39:35 +02:00
Otto Winter d4cb819e1f
ESPHome implement light color modes (#53854) 2021-08-02 22:07:37 +02:00
Marc Mueller 0815eede4b
Replace lists with tuples (2) (#53685) 2021-07-30 01:20:03 +02:00
Otto Winter 67ac87e915
Fix missing supported_features when only custom presets for ESPHome (#53632) 2021-07-28 21:20:26 +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
Milan Meulemans 348d7a5622
Remove incorrect use of ConfigType in config flows (#53544) 2021-07-27 12:33:17 +02:00
Jesse Hills 18bf0762b5
Add select entities to ESPHome (#53526)
Co-authored-by: Otto Winter <otto@otto-winter.com>
2021-07-27 11:45:04 +02:00
Otto Winter 51e4f66b82
Fix ESPHome services when .storage cleared (#53488) 2021-07-26 09:33:06 +02:00
GitHub Action ecf0d4398d [ci skip] Translation update 2021-07-22 00:10:31 +00:00
Marc Mueller a56485a8c5
Revert new unit types (#53226) 2021-07-20 14:13:51 +02:00