Skip to content

Commit

Permalink
Merge pull request #109 from Snuffy2/Change-Value-and-Attributes-from…
Browse files Browse the repository at this point in the history
…-Config-Options

Allow change of Variable value and attributes from configuration options
  • Loading branch information
enkama authored Dec 21, 2023
2 parents ecd92b2 + 16899b2 commit 1e47766
Show file tree
Hide file tree
Showing 5 changed files with 613 additions and 19 deletions.
2 changes: 1 addition & 1 deletion custom_components/variable/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@
DEFAULT_REPLACE_ATTRIBUTES,
DOMAIN,
PLATFORMS,
SERVICE_UPDATE_SENSOR,
)

_LOGGER = logging.getLogger(__name__)

SERVICE_SET_VARIABLE_LEGACY = "set_variable"
SERVICE_SET_ENTITY_LEGACY = "set_entity"
SERVICE_UPDATE_SENSOR = "update_sensor"

SERVICE_SET_VARIABLE_LEGACY_SCHEMA = vol.Schema(
{
Expand Down
Loading

0 comments on commit 1e47766

Please sign in to comment.