Fix Epson config flow unique_id (#45434)
* switch Epson from HTTP to TCP communication * fix tests * add asyncio websession * fix manifest * fix config flow * fix manifest * fix logger warnings * switch Epson from HTTP to TCP communication * fix tests * add asyncio websession * fix config flow * fix manifest * fix logger warnings * add already configured to import yaml * remove neccessary projector on on config.yaml * remove check import None * reload integration if no unique_id * async_migrate_entry * add async_migrate_entry * add init tests * media player migration uid * unifi config flow * Update homeassistant/components/epson/media_player.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/epson/media_player.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Apply suggestions from code review Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * review * remove unnecessary try except * add import test * Apply suggestions from code review Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * revert PORT option from config yaml * fix tests * remove port from config flow * fix CONFIG_SCHEMA Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
parent
ba284c0d27
commit
57d3342137
11 changed files with 205 additions and 64 deletions
|
@ -4,3 +4,7 @@ from homeassistant import exceptions
|
|||
|
||||
class CannotConnect(exceptions.HomeAssistantError):
|
||||
"""Error to indicate we cannot connect."""
|
||||
|
||||
|
||||
class PoweredOff(exceptions.HomeAssistantError):
|
||||
"""Error to indicate projector is off."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue