2018-02-03 03:17:01 +01:00
|
|
|
"""The test for the Melissa Climate component."""
|
2024-03-08 14:55:15 +01:00
|
|
|
|
2023-02-08 19:06:59 +01:00
|
|
|
from homeassistant.core import HomeAssistant
|
2019-10-23 06:19:00 +00:00
|
|
|
|
2024-06-10 13:32:31 +02:00
|
|
|
from . import setup_integration
|
2018-02-03 03:17:01 +01:00
|
|
|
|
|
|
|
|
2024-03-13 19:54:52 +01:00
|
|
|
async def test_setup(hass: HomeAssistant, mock_melissa) -> None:
|
2018-10-30 21:29:11 +01:00
|
|
|
"""Test setting up the Melissa component."""
|
2024-03-13 19:54:52 +01:00
|
|
|
await setup_integration(hass)
|
2018-02-03 03:17:01 +01:00
|
|
|
|
2024-03-13 19:54:52 +01:00
|
|
|
mock_melissa.assert_called_with(username="********", password="********")
|