Found this thread:
which led me to the custom logbook-card project, which allowed me to just use a text input helper as the entity to track.
So my working solution is:
-
Pair the Styrbar remote (requires resetting the remote and some patience)
-
Use the Blueprint from EPMatt to handle the button events (you will need to add a text helper to track the state…it’s in the instructions, but easy to miss that step)
-
Create another text input helper for the state you want to show in the dashboard
-
For each event, first use Call Service to set the text of the second input helper to the desired message, then use Call Service again to set to a neutral value (I’m using ‘null’). This second part is needed because the text input helper value only gets logged when it changes.
-
Install the custom logbook-card, either via HACS or by manually installing and registering the JS file as a resource.
-
Add the custom logbook card using the instructions on Github. There are several example configurations so it’s pretty easy to get it the way you want. Note that I used the hidden_state parameter to hide the ‘null’ values, so those do not show up in the list. A bit hacky, but it does what I want.