* Move ESPHomeManager into its own file
This is not a functional change. This is only a reorganization
ahead of some more test coverage being added so moving tests
around can be avoided later.
* relos
* fixes
* merge a portion of new cover since its small and allows us to remove the __init__ from .coveragerc
* Refactor ESPHome setup logic into a class
Avoids all the nonlocals and fixes the C901
* cleanup
* touch ups
* touch ups
* touch ups
* make easier to read
* stale
* 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>
* Add speech detection to esphome voice assistant
* Timeout after silence
Ensure events are sent before finish is called
* use va_version 3 instead of ESPHome version
* Convert repeated fixtures to factory
* Add some v3 tests
* Add conversation_id
* Bump aioesphomeapi to 13.8.0
* Fix missed buffering of detected chunk
* Alter log message
* Updates
* Spelling
* Fix return type
* 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>
* ESPHome handle remove password and no encryption
* Start reauth for invalid api password
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* 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
* 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>
* 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