Last active
May 22, 2024 13:41
-
-
Save astrandb/5ec47d6979b590639d23144142ae3100 to your computer and use it in GitHub Desktop.
Miele log - Blueprint for Home Assistant
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Log Miele status | |
description: Write log messages when states change in Miele integration. | |
domain: automation | |
source_url: https://gist.github.com/astrandb/5ec47d6979b590639d23144142ae3100 | |
input: | |
monitored_entity: | |
name: Monitored sensor | |
description: Select the sensor to monitor | |
selector: | |
entity: | |
domain: sensor | |
integration: miele | |
trigger: | |
platform: state | |
entity_id: !input monitored_entity | |
action: | |
alias: "Log the message" | |
service: system_log.write | |
data: | |
message: 'Miele status: {{ trigger.entity_id }}: {{ trigger.to_state.state }} | {{ trigger.to_state.attributes }}' | |
level: warning |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Blueprint for creating logging automation.
Will log all state changes for selected entity in miele integration.
Use to assist in debugging of program id:s and phases