- For Google Home Event Script, which is included in Google Home Resume package
- More information here
- Integrated into the Google Home Resume package, update according to the instructions
- Template improvements
- More use of YAML anchors
- Fix template copy/paste error causing variable store to fail
- Better handling of empty settings
- You will need to update the Google Home Resume script to 2022.11.3 as well if you update to this version
- The script makes use of the settings of the Google Home Resume script so it can immediately store all data, and no further processing in the Google Home Resume script is needed.
- Fixed a template error
- Combined the script and template sensor in a package, see the setup instructions for more information
- Changed version number to YYYY.MM.version
- Used improved templates to store data
- Removed file integration for long term storage as trigger based templates restore their state after restart or reload
- Improved template to gather speaker data by removing redundant templates
- Fix for
media_content_type
being stored incorreclty causing the data to be saved as string
- Template fix to prevent errors on missing attributes when creating the data variables
- Added an optional setting
ignore
which can be used to prevent entities/devices/areas from being resumed. - Additional setting
also_stop
to provide media players which should also be stopped when the date is stored. Useful if you use the script when you eg leave home, and want to turn off the TV and soundbar as well.
- Due to implemented changes introduced in 2022.5 this version is now required for the script
- Code review and implementation of new script actions introduced in HA 2022.5
- Added a update of Spotify entities before data is stored, so the most recent data is used
- Only relevant data of entities is stored (depending on state and playing app)
- (0.4.2) Template fix
- The script now uses the main Google Home Resume script and not only the Google Home Resume Perform Resume helper script. So if you only included that last script, you will have to include the total Google Home Resume script now.
- No need to maintain
speaker_groups
in this script anymore, this will be handled by the Google Home Resume script now
- Added
resume_volume
field which can be set while storing the data, and will overwrite the actual volume with this value. This will make sure the speakers are not resumed very loud, when they were playing at high volume while storing the data.
- Finally fixed the template errors
- If you use speaker groups, you need to provide the data in the variable
speaker_groups
now. (You can copy paste it from the Google Home Resume script).
- Added an optional boolean
remove_data
which can be set to true to remove all the existing data from the binary_sensor and the file
- All fields are optional now. If no
resume_id
is entered, the default will benot provided
, and if no setting forresume
is set, the default will befalse
(so data storage). - Should work correctly with speaker groups now
- Typo in the
ytube_music_data
variable somewhere in the script. - (0.2.1) Small fix in template to determine
resume_id
- (0.2.2) Avoid some template warnings
- Initial publication