* Add invert option to switch_as_x * Store invert flag in entity options * Add options flow * Update strings * Add tests * Address review comment * Update homeassistant/components/switch_as_x/strings.json Co-authored-by: G Johansson <goran.johansson@shiftit.se> * Address review comments * Inline get_suggested which was only used once in tests * Address review comments --------- Co-authored-by: G Johansson <goran.johansson@shiftit.se>
8 lines
181 B
Python
8 lines
181 B
Python
"""Constants for the Switch as X integration."""
|
|
|
|
from typing import Final
|
|
|
|
DOMAIN: Final = "switch_as_x"
|
|
|
|
CONF_INVERT: Final = "invert"
|
|
CONF_TARGET_DOMAIN: Final = "target_domain"
|