Fix AprilAire case (#120895)

* Fix AprilAire case

* Fix test
pull/121244/head
Matthew FitzGerald-Chamberlain 2024-07-04 14:27:56 -05:00 committed by GitHub
parent ebe7a4747d
commit df7be501d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View File

@ -62,7 +62,7 @@ class AprilaireConfigFlow(ConfigFlow, domain=DOMAIN):
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(
step_id="user",

View File

@ -1,6 +1,6 @@
{
"domain": "aprilaire",
"name": "Aprilaire",
"name": "AprilAire",
"codeowners": ["@chamberlain2007"],
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/aprilaire",

View File

@ -396,7 +396,7 @@
"iot_class": "cloud_push"
},
"aprilaire": {
"name": "Aprilaire",
"name": "AprilAire",
"integration_type": "device",
"config_flow": true,
"iot_class": "local_push"

View File

@ -104,7 +104,7 @@ async def test_config_flow_data(client: AprilaireClient, hass: HomeAssistant) ->
abort_if_unique_id_configured_mock.assert_called_once()
create_entry_mock.assert_called_once_with(
title="Aprilaire",
title="AprilAire",
data={
"host": "localhost",
"port": 7000,