Use only this card type in Home Assistant:
custom:homeii-music-flow
Use only this runtime package folder in Home Assistant www:
/config/www/community/homeii-music-flow/
Use only this Lovelace resource pattern:
/local/community/homeii-music-flow/homeii-music-flow.js?v=5.8.0
From now on, bump only the query version after ?v=.
Do not change the file name again unless there is a hard cache emergency.
Main source file:
src/homeii-music-flow.js
Stable deploy target:
dist/
dist/ should always be the latest approved install package.
- Edit:
src/homeii-music-flow.js - Review/share:
dist/ - Deploy to HA
www: copy the full contents ofdist/intowww/community/homeii-music-flow/ - Package includes:
homeii-music-flow.js,localization/,sendspin-js/,vendor/embla-carousel.umd.js,homeii-flow-logo.svg - Lovelace type:
custom:homeii-music-flow - Lovelace resource:
/local/community/homeii-music-flow/homeii-music-flow.js?v=5.8.0
If a new version is approved:
- Run the build/release script
- Replace the contents of
www/community/homeii-music-flow/with the contents ofdist/ - Update only the resource query version
Example:
/local/community/homeii-music-flow/homeii-music-flow.js?v=5.8.0
Starting with 4.9.0, release prep is expected to come from:
npm run buildnpm run releasenpm run lintnpm test
Old runtime snapshots and backup copies should live in Git history or GitHub Releases, not in the active repository.