mirror of
https://github.com/home-assistant/core.git
synced 2025-04-27 10:47:51 +00:00
parent
ebe7a4747d
commit
df7be501d3
@ -62,7 +62,7 @@ class AprilaireConfigFlow(ConfigFlow, domain=DOMAIN):
|
|||||||
|
|
||||||
self._abort_if_unique_id_configured()
|
self._abort_if_unique_id_configured()
|
||||||
|
|
||||||
return self.async_create_entry(title="Aprilaire", data=user_input)
|
return self.async_create_entry(title="AprilAire", data=user_input)
|
||||||
|
|
||||||
return self.async_show_form(
|
return self.async_show_form(
|
||||||
step_id="user",
|
step_id="user",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"domain": "aprilaire",
|
"domain": "aprilaire",
|
||||||
"name": "Aprilaire",
|
"name": "AprilAire",
|
||||||
"codeowners": ["@chamberlain2007"],
|
"codeowners": ["@chamberlain2007"],
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"documentation": "https://www.home-assistant.io/integrations/aprilaire",
|
"documentation": "https://www.home-assistant.io/integrations/aprilaire",
|
||||||
|
@ -396,7 +396,7 @@
|
|||||||
"iot_class": "cloud_push"
|
"iot_class": "cloud_push"
|
||||||
},
|
},
|
||||||
"aprilaire": {
|
"aprilaire": {
|
||||||
"name": "Aprilaire",
|
"name": "AprilAire",
|
||||||
"integration_type": "device",
|
"integration_type": "device",
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"iot_class": "local_push"
|
"iot_class": "local_push"
|
||||||
|
@ -104,7 +104,7 @@ async def test_config_flow_data(client: AprilaireClient, hass: HomeAssistant) ->
|
|||||||
abort_if_unique_id_configured_mock.assert_called_once()
|
abort_if_unique_id_configured_mock.assert_called_once()
|
||||||
|
|
||||||
create_entry_mock.assert_called_once_with(
|
create_entry_mock.assert_called_once_with(
|
||||||
title="Aprilaire",
|
title="AprilAire",
|
||||||
data={
|
data={
|
||||||
"host": "localhost",
|
"host": "localhost",
|
||||||
"port": 7000,
|
"port": 7000,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user