core/tests/components/esphome
J. Nick Koston f0cb03e631
Handle missing or incorrect device name and unique id for ESPHome during manual add (#95678)
* Handle incorrect or missing device name for ESPHome noise encryption

If we did not have the device name during setup we could never
get the key from the dashboard. The device will send us
its name if we try encryption which allows us to find the
right key from the dashboard.

This should help get users unstuck when they change the key
and cannot get the device back online after deleting and
trying to set it up again manually

* bump lib to get name

* tweak

* reduce number of connections

* less connections when we know we will fail

* coverage shows it works but it does not

* add more coverage

* fix test

* bump again
2023-07-02 10:29:45 -04:00
..
__init__.py
conftest.py Fix ESPHome button not getting device updates (#95311) 2023-06-26 22:34:37 -05:00
test_alarm_control_panel.py Add test coverage for esphome alarm control panels (#95090) 2023-06-23 12:59:05 +01:00
test_binary_sensor.py Fix esphome binary sensors when state is missing (#95140) 2023-06-24 23:09:26 -04:00
test_button.py Fix ESPHome button not getting device updates (#95311) 2023-06-26 22:34:37 -05:00
test_climate.py Add climate tests to esphome (#95045) 2023-06-22 20:31:55 +02:00
test_config_flow.py Handle missing or incorrect device name and unique id for ESPHome during manual add (#95678) 2023-07-02 10:29:45 -04:00
test_cover.py Add tests for ESPHome cover platform (#95321) 2023-06-27 08:26:35 +02:00
test_dashboard.py
test_diagnostics.py
test_entity.py Fix esphome not removing entities when static info changes (#95202) 2023-06-25 21:31:31 -05:00
test_enum_mapper.py
test_fan.py Add esphome fan platform tests and remove unreachable code (#95025) 2023-06-22 11:29:59 +02:00
test_init.py
test_light.py Add more test coverage for ESPHome lights (#95415) 2023-06-28 08:40:21 +02:00
test_lock.py Add test coverage for esphome lock platform (#95023) 2023-06-24 23:10:47 -04:00
test_media_player.py Add esphome media player tests (#95069) 2023-06-22 21:28:58 +02:00
test_number.py Add additional coverage for ESPHome sensor and number (#95226) 2023-06-26 12:29:38 +02:00
test_select.py Add VAD sensitivity to ESPHome (#95283) 2023-06-26 16:47:32 -04:00
test_sensor.py Add additional coverage for ESPHome sensor and number (#95226) 2023-06-26 12:29:38 +02:00
test_switch.py Add test coverage for ESPHome switch platform (#95306) 2023-06-26 17:49:00 -05:00
test_update.py Keep esphome update entity available when disconnected is expected (#95278) 2023-06-26 22:20:56 +02:00
test_voice_assistant.py