1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Ensure rainmachine creates config entry titles as strings (#70417)

This commit is contained in:
J. Nick Koston
2022-04-22 03:58:19 -10:00
committed by GitHub
parent edffac82e9
commit cc3d6aa247
4 changed files with 7 additions and 5 deletions

View File

@@ -49,7 +49,9 @@ def controller_fixture(
controller = AsyncMock()
controller.api_version = "4.5.0"
controller.hardware_version = 3
controller.name = "My RainMachine"
# The api returns a controller with all numbers as numeric
# instead of a string
controller.name = 12345
controller.mac = controller_mac
controller.software_version = "4.0.925"