If I press Save, it looks like it works, but on refreshing the page it’s completely deleting the value attribute and setting it back to null.
I want to put this in an automation triggered by media playback ending. I already have something in the automation triggered by the start of playback that sets OriginalVolume. My goal is to be able to look up how much I adjusted the volume of that specific movie once it’s over (the next step in the end-of-playback automation sets the volume to what it was before the movie started, and I can’t see the front of the DVR from my seat).
Is the *100 to avoid it being in the 0-1 range? As I said above the current value is 0.415. OriginalVolume is currently 0.51, because I turned it down by 3.5dB after the movie started.
EDIT: I tried that, both with and without the *100, and it still gets reset to “null” when I save the automation.
But to make all this obsolete: look into dynamically created scenes (scenes on the fly) to restore the state of any entity to what is was at some point:
I already have it restoring OriginalVolume at the end of the movie. I have a different automation that adjusts the volume on a per-movie basis, and I want to store the adjustment I made so I can plug it into that automation later.
When I press the button, I get an error about it expecting a float. But it’s being defined as a float, so I’m not sure what the issue is. I have a near-identical action as part of an automation, and it works fine: