Collection of code styling tweaks (#87344)
This commit is contained in:
parent
3ccd0ef013
commit
fcb612cd6f
52 changed files with 391 additions and 214 deletions
|
@ -117,9 +117,10 @@ CONF_MODE_LIST = "modes"
|
|||
CONF_MODE_STATE_TEMPLATE = "mode_state_template"
|
||||
CONF_MODE_STATE_TOPIC = "mode_state_topic"
|
||||
|
||||
# CONF_POWER_COMMAND_TOPIC, CONF_POWER_STATE_TOPIC and CONF_POWER_STATE_TEMPLATE are deprecated,
|
||||
# support for CONF_POWER_STATE_TOPIC and CONF_POWER_STATE_TEMPLATE was already removed or never added
|
||||
# support was deprecated with release 2023.2 and will be removed with release 2023.8
|
||||
# CONF_POWER_COMMAND_TOPIC, CONF_POWER_STATE_TOPIC and CONF_POWER_STATE_TEMPLATE
|
||||
# are deprecated, support for CONF_POWER_STATE_TOPIC and CONF_POWER_STATE_TEMPLATE
|
||||
# was already removed or never added support was deprecated with release 2023.2
|
||||
# and will be removed with release 2023.8
|
||||
CONF_POWER_COMMAND_TOPIC = "power_command_topic"
|
||||
CONF_POWER_STATE_TEMPLATE = "power_state_template"
|
||||
CONF_POWER_STATE_TOPIC = "power_state_topic"
|
||||
|
@ -375,9 +376,10 @@ PLATFORM_SCHEMA_MODERN = vol.All(
|
|||
cv.removed(CONF_HOLD_STATE_TEMPLATE),
|
||||
cv.removed(CONF_HOLD_STATE_TOPIC),
|
||||
cv.removed(CONF_HOLD_LIST),
|
||||
# CONF_POWER_COMMAND_TOPIC, CONF_POWER_STATE_TOPIC and CONF_POWER_STATE_TEMPLATE are deprecated,
|
||||
# support for CONF_POWER_STATE_TOPIC and CONF_POWER_STATE_TEMPLATE was already removed or never added
|
||||
# support was deprecated with release 2023.2 and will be removed with release 2023.8
|
||||
# CONF_POWER_COMMAND_TOPIC, CONF_POWER_STATE_TOPIC and CONF_POWER_STATE_TEMPLATE
|
||||
# are deprecated, support for CONF_POWER_STATE_TOPIC and CONF_POWER_STATE_TEMPLATE
|
||||
# was already removed or never added support was deprecated with release 2023.2
|
||||
# and will be removed with release 2023.8
|
||||
cv.deprecated(CONF_POWER_COMMAND_TOPIC),
|
||||
cv.deprecated(CONF_POWER_STATE_TEMPLATE),
|
||||
cv.deprecated(CONF_POWER_STATE_TOPIC),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue