mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +00:00
Remove accidental blanks from Shelly trigger type translations (#58151)
This commit is contained in:
parent
548b872229
commit
8f1ba96d0b
@ -40,14 +40,14 @@
|
|||||||
"single": "{subtype} single clicked",
|
"single": "{subtype} single clicked",
|
||||||
"double": "{subtype} double clicked",
|
"double": "{subtype} double clicked",
|
||||||
"triple": "{subtype} triple clicked",
|
"triple": "{subtype} triple clicked",
|
||||||
"long": " {subtype} long clicked",
|
"long": "{subtype} long clicked",
|
||||||
"single_long": "{subtype} single clicked and then long clicked",
|
"single_long": "{subtype} single clicked and then long clicked",
|
||||||
"long_single": "{subtype} long clicked and then single clicked",
|
"long_single": "{subtype} long clicked and then single clicked",
|
||||||
"btn_down": "{subtype} button down",
|
"btn_down": "{subtype} button down",
|
||||||
"btn_up": "{subtype} button up",
|
"btn_up": "{subtype} button up",
|
||||||
"single_push": "{subtype} single push",
|
"single_push": "{subtype} single push",
|
||||||
"double_push": "{subtype} double push",
|
"double_push": "{subtype} double push",
|
||||||
"long_push": " {subtype} long push"
|
"long_push": "{subtype} long push"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -82,7 +82,7 @@ async def _resetup_platform(
|
|||||||
await component.async_setup(hass, root_config) # type: ignore
|
await component.async_setup(hass, root_config) # type: ignore
|
||||||
return
|
return
|
||||||
|
|
||||||
# If its an entity platform, we use the entity_platform
|
# If it's an entity platform, we use the entity_platform
|
||||||
# async_reset method
|
# async_reset method
|
||||||
platform = async_get_platform_without_config_entry(
|
platform = async_get_platform_without_config_entry(
|
||||||
hass, integration_name, integration_platform
|
hass, integration_name, integration_platform
|
||||||
@ -93,7 +93,7 @@ async def _resetup_platform(
|
|||||||
|
|
||||||
if not root_config[integration_platform]:
|
if not root_config[integration_platform]:
|
||||||
# No config for this platform
|
# No config for this platform
|
||||||
# and its not loaded. Nothing to do
|
# and it's not loaded. Nothing to do.
|
||||||
return
|
return
|
||||||
|
|
||||||
await _async_setup_platform(
|
await _async_setup_platform(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user