mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 02:37:08 +00:00
Code styling tweaks to Nexia tests (#86660)
This commit is contained in:
parent
1d1d69ca02
commit
4955dd3e1b
File diff suppressed because it is too large
Load Diff
@ -11,7 +11,8 @@ async def test_automation_scenes(hass):
|
|||||||
state = hass.states.get("scene.away_short")
|
state = hass.states.get("scene.away_short")
|
||||||
expected_attributes = {
|
expected_attributes = {
|
||||||
"attribution": "Data provided by Trane Technologies",
|
"attribution": "Data provided by Trane Technologies",
|
||||||
"description": "When IFTTT activates the automation Upstairs "
|
"description": (
|
||||||
|
"When IFTTT activates the automation Upstairs "
|
||||||
"West Wing will permanently hold the heat to 63.0 "
|
"West Wing will permanently hold the heat to 63.0 "
|
||||||
"and cool to 80.0 AND Downstairs East Wing will "
|
"and cool to 80.0 AND Downstairs East Wing will "
|
||||||
"permanently hold the heat to 63.0 and cool to "
|
"permanently hold the heat to 63.0 and cool to "
|
||||||
@ -25,7 +26,8 @@ async def test_automation_scenes(hass):
|
|||||||
"Auto AND Activate the mode named 'Away Short' "
|
"Auto AND Activate the mode named 'Away Short' "
|
||||||
"AND Master Suite will permanently hold the heat "
|
"AND Master Suite will permanently hold the heat "
|
||||||
"to 63.0 and cool to 79.0 AND Master Suite will "
|
"to 63.0 and cool to 79.0 AND Master Suite will "
|
||||||
"change Fan Mode to Auto",
|
"change Fan Mode to Auto"
|
||||||
|
),
|
||||||
"friendly_name": "Away Short",
|
"friendly_name": "Away Short",
|
||||||
"icon": "mdi:script-text-outline",
|
"icon": "mdi:script-text-outline",
|
||||||
}
|
}
|
||||||
@ -38,13 +40,15 @@ async def test_automation_scenes(hass):
|
|||||||
state = hass.states.get("scene.power_outage")
|
state = hass.states.get("scene.power_outage")
|
||||||
expected_attributes = {
|
expected_attributes = {
|
||||||
"attribution": "Data provided by Trane Technologies",
|
"attribution": "Data provided by Trane Technologies",
|
||||||
"description": "When IFTTT activates the automation Upstairs "
|
"description": (
|
||||||
|
"When IFTTT activates the automation Upstairs "
|
||||||
"West Wing will permanently hold the heat to 55.0 "
|
"West Wing will permanently hold the heat to 55.0 "
|
||||||
"and cool to 90.0 AND Downstairs East Wing will "
|
"and cool to 90.0 AND Downstairs East Wing will "
|
||||||
"permanently hold the heat to 55.0 and cool to "
|
"permanently hold the heat to 55.0 and cool to "
|
||||||
"90.0 AND Downstairs West Wing will permanently "
|
"90.0 AND Downstairs West Wing will permanently "
|
||||||
"hold the heat to 55.0 and cool to 90.0 AND "
|
"hold the heat to 55.0 and cool to 90.0 AND "
|
||||||
"Activate the mode named 'Power Outage'",
|
"Activate the mode named 'Power Outage'"
|
||||||
|
),
|
||||||
"friendly_name": "Power Outage",
|
"friendly_name": "Power Outage",
|
||||||
"icon": "mdi:script-text-outline",
|
"icon": "mdi:script-text-outline",
|
||||||
}
|
}
|
||||||
@ -57,11 +61,13 @@ async def test_automation_scenes(hass):
|
|||||||
state = hass.states.get("scene.power_restored")
|
state = hass.states.get("scene.power_restored")
|
||||||
expected_attributes = {
|
expected_attributes = {
|
||||||
"attribution": "Data provided by Trane Technologies",
|
"attribution": "Data provided by Trane Technologies",
|
||||||
"description": "When IFTTT activates the automation Upstairs "
|
"description": (
|
||||||
|
"When IFTTT activates the automation Upstairs "
|
||||||
"West Wing will Run Schedule AND Downstairs East "
|
"West Wing will Run Schedule AND Downstairs East "
|
||||||
"Wing will Run Schedule AND Downstairs West Wing "
|
"Wing will Run Schedule AND Downstairs West Wing "
|
||||||
"will Run Schedule AND Activate the mode named "
|
"will Run Schedule AND Activate the mode named "
|
||||||
"'Home'",
|
"'Home'"
|
||||||
|
),
|
||||||
"friendly_name": "Power Restored",
|
"friendly_name": "Power Restored",
|
||||||
"icon": "mdi:script-text-outline",
|
"icon": "mdi:script-text-outline",
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user