Jesse Hills
32ed45084a
ESPHome voice assistant: Version 2 - Stream raw tts audio back to device for playback ( #92052 )
...
* Send raw audio back
* Update tests
* More tests
* Fix docstrings and remove unused patches
* More tests
* MORE
* Only set raw for v2
2023-04-26 22:24:29 -04:00
Jesse Hills
29ca43acf6
Set pipeline_id from pipeline select ( #92085 )
2023-04-27 10:29:08 +12:00
J. Nick Koston
c407fb0861
Bump recommended esphome version to 2023.4.0 for bluetooth ( #91509 )
2023-04-20 15:36:12 -10:00
Jesse Hills
8d201b205f
ESPHome binary sensor representing assist pipeline running ( #91406 )
...
* ESPHome binary sensor representing assist pipeline running
* Apply suggestions from code review
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
* Rename to call active
Simplify with attrs a little
* Load binary sensor if voice assistant on device
* Add some tests
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-04-17 19:52:37 -04:00
Jesse Hills
0ddccb26fa
ESPHome voice assistant ( #90691 )
...
* Add ESPHome push-to-talk
* Send pipeline events to device
* Bump aioesphomeapi to 13.7.0
* Log error instead of print
* Rename variable
* lint
* Rename
* Fix type and cast
* Move event data manipulation into voice_assistant callback
Process full url
* Add a test?
* Remove import
* More tests
* Update import
* Update manifest
* fix tests
* Ugh
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-04-13 19:18:56 -04:00
J. Nick Koston
87c22c3ad5
Fix state being cleared on disconnect with deep sleep esphome devices ( #90925 )
...
* Fix state being cleared on disconnect with deep sleep esphome devices
fixes #90923
* fix logic
2023-04-06 16:32:02 -04:00
Jesse Hills
eb469d6a2f
Move enum mapper to own file to prevent circular dependency ( #90890 )
...
* Move enum_mapper to own file to prevent circular dependency
* Add enum mapper test
2023-04-05 22:55:51 -04:00
J. Nick Koston
c566303edb
Avoid writing state to all esphome entities at shutdown ( #90555 )
2023-03-31 18:23:05 +02:00
J. Nick Koston
49f08ad71d
Filter out duplicate updates in esphome state dispatch ( #89779 )
2023-03-20 20:04:46 +01:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ( #87792 )
...
* Move EntityCategory to homeassistant.const
* Fix more imports
2023-02-09 20:15:37 +01:00
Paulus Schoutsen
8417f22904
Trigger update of ESPHome update entity when static info updates ( #87058 )
...
Trigger update of update entity when static info updates
2023-01-31 22:13:41 -05: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
Jesse Hills
d0b67689e0
Add issue to ESPHome deprecating api password ( #86606 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-01-25 11:07:57 +01:00
J. Nick Koston
aac89a3493
Bump recommended esphome version for bluetooth proxies to 2022.12.4 ( #86308 )
...
This will fix an MTU issue reported with airthings and
other devices.
needs https://github.com/esphome/esphome/pull/4323
2023-01-22 00:05:06 +02:00
Paulus Schoutsen
29337bc6eb
Reload ESPHome config entries when dashboard info received ( #86174 )
2023-01-18 17:59:55 +01:00
Franck Nijhof
382e1ac679
Code styling tweaks to the ESPHome integration ( #86146 )
2023-01-18 11:10:16 +01:00
epenet
9205020fa4
Avoid import homeassistant.const as a module ( #85991 )
2023-01-16 16:49:49 +01:00
Jesse Hills
d3c41bc31c
Add friendly name support for ESPHome ( #85976 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-15 21:33:44 -10: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
Jesse Hills
5874b4cdcf
ESPHome: do not set expected_name on APIClient ( #84471 )
2022-12-22 21:58:51 +01:00
Franck Nijhof
b0cee0bc46
String formatting and max line length - Part 1 ( #84390 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-12-22 10:12:50 +01:00
J. Nick Koston
e94da1ad0f
Update ESPHome bluetooth repair issue for unique id change and 2022.12.0 ( #84026 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-12-15 06:59:53 -10: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
9094d73df1
Connect esphome ble scanner as soon as possible ( #83728 )
...
Other integration depend on it being available so connect
it first
2022-12-10 15:17:05 -05:00
Jan Bouwhuis
23bc39b7f4
Add type hints on Template().__init__()
( #82574 )
2022-11-23 20:26:55 +01:00
J. Nick Koston
4e11246ba5
Create an issue when using older esphome firmwares when bluetooth support is enabled ( #82162 )
...
* Create an issue when using older esphome firmwares when bluetooth support is enabled
2022.11.0 has some significant stability imporvements with
BLE. Its is non-obvious if the user is running an older
esphome version that does not have the fixes
* name
* skip repair issue if a project name is set
* drop reflashing term
* Update homeassistant/components/esphome/strings.json
* Update homeassistant/components/esphome/translations/en.json
* Update homeassistant/components/esphome/translations/en.json
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* Update homeassistant/components/esphome/translations/en.json
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* Update homeassistant/components/esphome/strings.json
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* Update homeassistant/components/esphome/strings.json
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* Update homeassistant/components/esphome/strings.json
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-11-16 22:16:51 +02:00
epenet
00f4933e72
Import tag from homeassistant.components ( #82161 )
2022-11-16 07:09:46 +01:00
epenet
1826795d37
Add TagProtocol for type checking ( #81086 )
...
* Add TagProtocol for type checking
* Adjust type hints
2022-11-14 14:32:10 +01:00
J. Nick Koston
8db7afb2e0
Include esphome device name in BLE logs ( #81284 )
...
* Include esphome device name in BLE logs
This makes it easier to debug what is going on when there
are multiple esphome proxies
* revert unintended change
2022-10-31 00:31:37 -05:00
Jesse Hills
97d31d05f0
Use ESPHome manufacturer name from device if provided ( #80928 )
2022-10-25 09:15:28 +02:00
J. Nick Koston
27a61f5407
Raise exception when esphome ble client disconnects during operation ( #80885 )
2022-10-24 14:04:50 -05:00
J. Nick Koston
ca0cd19dc9
Switch to using new esphome bluetooth_proxy_version field ( #79331 )
2022-09-30 08:29:36 -04:00
J. Nick Koston
7042d6d35b
Add ESPHome BleakClient ( #78911 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-09-28 08:06:30 -10:00
J. Nick Koston
8eaa22cf90
Break out esphome domain data ( #79134 )
2022-09-27 07:56:00 -10: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
Marc Mueller
79bdc02829
Improve esphome state property decorator typing ( #77152 )
2022-08-26 10:52:05 +02:00
epenet
a46c25d2c8
Use _attr_should_poll in components [a-g] ( #77268 )
2022-08-26 10:15:33 +02:00
J. Nick Koston
7f001cc1d1
ESPHome BLE scanner support ( #77123 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-08-23 10:41:50 -04: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
J. Nick Koston
cd03c49fc2
Wait for config entry platform forwards ( #73806 )
2022-07-09 17:27:42 +02:00
J. Nick Koston
40ed44cbea
Fix esphome state mapping ( #74337 )
2022-07-03 13:48:34 -07:00
J. Nick Koston
7655b84494
Fix key collision between platforms in esphome state updates ( #74273 )
2022-06-30 22:19:40 -07:00
J. Nick Koston
a7f72931ad
Simplify esphome state updates ( #73409 )
2022-06-12 20:12:49 -07: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
epenet
e37402e1d5
Import tag ( #64539 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-23 09:55:31 -08:00