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: Timer Finished | |
| description: Fired when timer finishes | |
| triggers: | |
| - trigger: event | |
| event_type: timer.finished | |
| event_data: | |
| entity_id: timer.variable_timer | |
| conditions: [] | |
| actions: | |
| - sequence: |
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: Set Timer | |
| description: Set a custom timer | |
| triggers: | |
| - trigger: conversation | |
| command: | |
| - book a timer for {minute} minute[s] | |
| - book a timer for {second} second[s] | |
| - book a timer for {hour} hours[s] | |
| - book a timer for {hour} hours[s] and {minute} minute[s] | |
| - book a timer for {minute} minute[s] and {second} second[s] |
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: Set Volume | |
| description: "" | |
| triggers: | |
| - trigger: conversation | |
| command: set volume to {volume_val} | |
| conditions: [] | |
| actions: | |
| - action: media_player.volume_set | |
| metadata: {} | |
| data: |
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
| class ColorChangingWidget extends StatefulWidget { | |
| @override | |
| _ColorChangingWidgetState createState() => _ColorChangingWidgetState(); | |
| } | |
| class _ColorChangingWidgetState extends State<ColorChangingWidget> { | |
| Color _backgroundColor = Colors.white; | |
| // function to change the color of the widget | |
| //Define the inner funciont |