J. Nick Koston
85d6e03dd3
Require newly configured esphome device to allow Home Assistant service calls ( #95143 )
...
* Require esphome service calls to be enabled
For existing devices, calling Home Assistant services continues
to be allowed.
For newly configured devices, it must now be enabled in the options
flow
* fix
* adjust
* coverage
* adjust
* fix test
* Update homeassistant/components/esphome/strings.json
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
* Update homeassistant/components/esphome/strings.json
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
* Update homeassistant/components/esphome/strings.json
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
* Update homeassistant/components/esphome/__init__.py
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
* Update homeassistant/components/esphome/__init__.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Update homeassistant/components/esphome/__init__.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-06-25 21:18:21 -04:00
Erik Montnemery
63f3767a29
Include UUID in hassio discovery data ( #91970 )
2023-04-25 09:48:47 +02:00
epenet
b94dffb7d3
Add missing mock in esphome tests ( #88923 )
2023-03-01 16:11:21 +01:00
epenet
b9beed4624
Add type hints to integration tests (part 6) ( #87979 )
2023-02-13 09:45:11 +01:00
epenet
3052de3e8e
Add type hints to integration tests (d-e) ( #87699 )
2023-02-08 13:01:44 +01:00
Paulus Schoutsen
d88849fb04
ESPHome handle remove password and no encryption ( #86995 )
...
* ESPHome handle remove password and no encryption
* Start reauth for invalid api password
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-01-30 23:05:48 -05:00
Paulus Schoutsen
98b4a412f7
ESPHome discovered dashboard checks reauth flows ( #86993 )
2023-01-30 21:32:52 -05:00
Paulus Schoutsen
2cdeb6f1cd
Check dashboard when showing reauth form ( #86980 )
2023-01-30 22:46:42 +01:00
Jesse Hills
78207121c0
Remove esphome password from config flow data if not needed ( #86763 )
...
* Remove esphome password if not needed
* Add test
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-01-26 21:45:51 -05:00
Paulus Schoutsen
a83318f373
ESPHome dashboard tweaks ( #86176 )
2023-01-18 21:15:37 +01:00
Paulus Schoutsen
29337bc6eb
Reload ESPHome config entries when dashboard info received ( #86174 )
2023-01-18 17:59:55 +01:00
Paulus Schoutsen
06bc9c7b22
Automatically fetch the encryption key from the ESPHome dashboard ( #85709 )
...
* Automatically fetch the encryption key from the ESPHome dashboard
* Also use encryption key during reauth
* Typo
* Clean up tests
2023-01-11 15:28:31 -05:00
Paulus Schoutsen
82ec769ec5
Handle ESPHome dashboard discovery ( #85662 )
2023-01-11 08:30:52 -05:00
Paulus Schoutsen
d3df4dd3c1
ESPHome: Use MAC as unique ID ( #83741 )
...
* ESPHome: Use MAC as unique ID
* Normalize incoming zeroconf/dhcp macs
* Update comment
* Test ESPHome without mac in zeroconf
* Use format_mac
* Remove unique ID index from DomainData
2022-12-10 22:26:42 -05:00
J. Nick Koston
4a56461d3c
Fix reauth with esphome when adding noise encryption ( #83164 )
...
* Fix reauth with esphome when adding noise encryption
fixes #80813
* fix with unique id
2022-12-02 19:49:13 -05:00
J. Nick Koston
9a5bdaf87e
Ensure unique id is set for esphome when setup via user flow ( #77677 )
2022-09-01 14:10:20 -04:00
Franck Nijhof
a6244eea28
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74656 )
2022-07-07 21:28:18 +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
Joshua Roys
9134e5c844
Get discovered zeroconf IPv6 addresses ( #65462 )
2022-02-11 16:46:17 -06:00
epenet
1d3fbc93a0
Update ZeroconfServiceInfo in tests (a-f) ( #60212 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 09:32:58 -06: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
Otto Winter
df4e8721e9
ESPHome move ReconnectLogic to aioesphomeapi ( #57601 )
2021-10-13 10:04:23 -07:00
Otto Winter
a54854d129
ESPHome Noise Transport Encryption support ( #56216 )
2021-09-20 09:02:17 +02:00
Erik Montnemery
7dbd0e5274
Fix zeroconf mock and use it in CI group 1's tests ( #55526 )
...
* Fix zeroconf mock and use it in CI group 1's tests
* Mock HaAsyncServiceBrowser
2021-09-01 22:38:00 +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
Ville Skyttä
153d6e891e
Use config_entries.SOURCE_* constants ( #49631 )
2021-04-25 11:27:40 +02:00
tkdrob
29d8b8a22f
Some code cleanups for ESPHome ( #46367 )
2021-02-11 10:19:39 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
definitio
0a1d9abe79
Use common strings in esphome config flow ( #41547 )
2020-10-09 14:28:54 +02:00
J. Nick Koston
9b23d7c2fd
Use the shared Zeroconf instance in esphome ( #38747 )
2020-09-04 21:01:41 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
Chris Talkington
ba7391528f
Add unique id to esphome config flow ( #34753 )
2020-04-30 16:24:47 -07:00
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 ( #34901 )
2020-04-30 13:29:50 -07:00
Quentame
8a413b152d
Move esphome imports at top-level ( #29064 )
2019-11-25 18:00:58 -08:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Otto Winter
05bb645263
Fix zeroconf migration messing up ESPHome discovery ( #24578 )
2019-06-17 09:19:39 -07:00
Otto Winter
1ce2d97d3d
Fix ESPHome discovered when already exists ( #24187 )
...
* Fix ESPHome discovered when already exists
* Update .coveragerc
2019-05-30 09:48:58 -07:00
Otto Winter
9438dd1cbd
Use name in ESPHome discovery title ( #24100 )
...
* Use name in ESPHome discovery title
* Add test
* Lint
2019-05-26 13:48:05 +02:00
Robert Svensson
085303c349
ESPHome component to use zeroconf discovery ( #24043 )
...
* Move ESPHome component to use zeroconf discovery
* Remove esphome from discovery component
2019-05-23 08:55:08 +02:00
Otto Winter
29187795a8
Fix ESPHome nodes being auto-added without user confirmation ( #21444 )
2019-02-26 12:35:25 -08:00
Otto Winter
55f9db6992
Bump aioesphomeapi to 1.5.0 ( #20986 )
...
* Bump aioesphomeapi to 1.5.0
* Update requirements_all.txt
* Fix editor line length setting
2019-02-11 21:57:17 +01:00
Otto Winter
68723730a7
Add ESPHome native API discovery ( #19399 )
...
* ESPHome discovery
* Add note about netdisco
* 🔡
* Address comments
* Bump netdisco to 2.3.0
* Update requirements_all.txt
2019-01-05 16:00:07 +01:00
Otto Winter
c7700ad11c
Fix some ESPHome race conditions ( #19772 )
...
* Fix some ESPHome race conditions
* Remove debug
* Update requirements_all.txt
* 🚑 Fix IDE line length settings
2019-01-04 22:10:52 +01:00
Otto Winter
a08bab7b18
Add native ESPHome API component ( #19334 )
...
* Create esphomelib component
* Update requirements
* Remove python 2 string literals
* MVP
* Remove config flow
* Remove config flow translations
* Use dispatcher more
* Use data classes
* Type Hints
* Cleanup on remove
* Use helper and cleanup
* Fix HA stop listener cleanup
* Add config flow
* Fix SyntaxError for Py3.5
* Update
* Lint
* Re-do tests
* ✨ Rename to ESPHome
* Better error message for resolve errors
* Fix tests when aioesphomeapi not installed
* Refactor mock
* Update requirements
* Add strings.json
* 🍵 100% config flow test coverage
2018-12-17 01:29:32 +01:00