Created
March 15, 2023 02:03
-
-
Save jrgutier/92fe504d6c5adc120733dae43d4b9d45 to your computer and use it in GitHub Desktop.
Rivian Software Update Notification
This file contains hidden or 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
alias: Rivian Software Update Notification | |
description: "" | |
trigger: | |
- platform: state | |
entity_id: | |
- sensor.rivian_telematics_ota_status_status | |
condition: | |
- condition: template | |
value_template: |- | |
{{ trigger.to_state.state != trigger.from_state.state and | |
trigger.to_state is not none and | |
trigger.from_state is not none and | |
trigger.to_state.state not in ['unknown','unavailable'] }} | |
action: | |
- service: notify.notify | |
data: | |
message: >- | |
Rivian Software Update ({{ | |
states('sensor.rivian_telematics_ota_status_available_version') | |
}}) changed to {{ states('sensor.rivian_telematics_ota_status_status') | |
}} | |
mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment