If you’ve lost the text-input field (due to ‘paper-input’ having been deprecated), until there is an update released (has the project been abandoned?..it looks like some time since there were last any updates) you can faily simply make the necessary changes yourself to the mini-media-player-bundle.js in ‘config\www\community\mini-media-player’ (and compress this with gzip compression format to create a new mini-media-player-bundle.js.gz, replacing the old one):
Open mini-media-player-bundle.js and change every entry of ‘paper-input’ with ‘ha-textfield’
Once you’ve made and saved the changes, you will need to reload your frontend cache:
This is simple in a browser, just follow your usual broswer cache reset procedure.
For the iOS app, it’s a bit different: Side bar → Settings → Companion App → Debugging → Reset frontend cache (you may need to do a ‘swipe-down’ to reload the page from the Home Aisstant lovelac screen).
In android, again a bit different: go to your android OS settings (the system settings, not in the HA app) → Apps storage → Home Assistant → Clear Cache.
Thank you very much for this solution!! It worked!!
Do you think there is a possibility for me to implement the script from my previous post, into the media player, so that i can type the message in the txt field, and when click on the Send button, that it loads a script that i created and where the txt in the txt field is used in my script to send to the mediaplayer?
Anyhow, very very much appreciated that you came up with a solution for the missing txt field!!
I don’t know if you’re aware of this add-on, but it represents a huge upgrade from the stock HA Media card.
The developer seems to be away from the project, so maybe there’s a chance to either bring him into the fold and make this a native HA card, or come to some kind of agreement to use his work as a base for a new media card?
I edited the .js file. Why is recompressing necessary? This did not work even after re-compressing.
UPDATE:
After following the above steps 3 times from start to finish it finally worked. Not sure why it took so much hoop-jumping. Thanks for the band-aid info. Hopefully someone picks this up to maintain and fixes it permanently.
You can work with boolean_switches that are handed over to HomeKit.
Step 1: create a boolean_switch in HA for each radio station
Step 2: make the boolea_switch accessible via HomeKit
Step 3: create an Automation in HomeKit that plays the radio station on the HomePod, when the switch for the radio station is turned on
Step 4: create an Automation in HA that turns off the boolean after maybe 2 seconds after it was turned on
Then every time you activate the boolean switch in Home Assistant, the radio station gets played on your HomePod.
first of all, its a really great project, I love it, but I cant get it to work with my echo devices.
Thats what it sais using it with youtube music player to play my playlists.
“To send tts set announce = true. Music can’t played this way.”
Do you have any ideas?