Comments (3)
Hi TGZ, why would you want to do this rather than just use mute/unmute? Given it's not an additional feature and is just a remap I would suggest maybe you do this by means of a universal media player?
from hifiberry.
It's easier if the entity can be configured using turn_on_action
and turn_off_action
instead of having to manually set tap_action
etc to call the service.
Currently, stopping and restarting the played media (at least the radio stream) doesn't work as I'd expect to.
If I click the entity (status-icon
in picture-elements
card) I can stop the stream, but not restart it.
That's not how one would expect to control a mediaplayer from the HA dashboard.
So one would either expect to either "fix" it using turn_on_action
and turn_off_action
or the integration being able to do so.
from hifiberry.
Hi @TheGroundZero I don't understand your Lovelace setup with this unfortunately. Mute and unmute is not starting and stopping a media stream so I'm not happy to integrate a non-feature like that. As I mentioned before, remapping a function like this can be very easily achieved with a universal media player
from hifiberry.
Related Issues (13)
- Integration warning upon start of HomeAssistant
- Suggestion: Use device name as UID instead of IP address HOT 7
- Stopped working after latest updated due to audiocontrol2sio HOT 4
- Can't add device HOT 2
- Cannot add hifiberry device: "Failed to connect" HOT 8
- Unable to find integration after HACS install and restart
- Please help - I don't know how to add HiFi Berry via HACS HOT 4
- PLAY_MEDIA, GROUPING services not available HOT 8
- Volume Settings sets volume in GUI but not on actual audio output HOT 3
- logs getting filles with "Updating hifiberry media_player took longer than the scheduled update interval 0:00:02" HOT 12
- Changes in Home Assistant Core 2021.3 HOT 2
- Cannot add integration HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hifiberry.