Commit Graph

285 Commits (f9d985553caf3861042c303fa59c0647bbe7a7ac)

Author SHA1 Message Date
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
Marc Mueller 71a8ae3016
Add new unit types for better type checking (#53124)
* Add new unit types
* Update helper functions
* Update components
* Update lcn climate
2021-07-18 14:43:47 +02:00
Daniel Hjelseth Høyer fbad453c89
Pylint 2.9.3 (#52972)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-07-14 21:44:57 -07:00
Otto Winter 4d16cda957
ESPHome enable static type checking (#52348) 2021-07-12 22:56:10 +02:00
Otto Winter 07e2a7245f
Fix ESPHome Camera not merging image packets (#52783) 2021-07-09 11:38:38 +02:00
Jesse Hills 94e15b3eea
Esphome fix camera image (#52738) 2021-07-08 14:44:49 +02:00
Otto Winter f772eab7b7
ESPHome delete store data when unloading entry (#52296) 2021-06-29 15:06:24 -07:00
J. Nick Koston 2eebfe6ff3
Fix esphome startup with missing api_version key (#52324) 2021-06-29 22:50:29 +02:00
Otto Winter b43d0877e7
ESPHome Migrate to dataclasses (#52305) 2021-06-29 19:53:57 +02:00
Jesse Hills e1797ea670
Add number entities to ESPHome (#52241)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-06-29 14:33:04 +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
Jesse Hills 33e2b910c2
Add @jesserockz to ESPHome codeowners (#52115) 2021-06-23 13:10:58 +02:00
Otto Winter 03ec7b3d0b
ESPHome rework EsphomeEnumMapper for safe enum mappings (#51975) 2021-06-21 21:22:38 -07:00
GitHub Action 6ed671dfda [ci skip] Translation update 2021-06-09 00:10:10 +00:00