@murmusbahnus wrote:
Hi all,
sorry for the bad title. I try to automate something with the new Minecraft integration.
There is a sensor called sensor.minecraftserver_players_online which contains an array of the currently players. You can view it with the following template:{{states.sensor.gruebelgrotte_players_online.attributes.players_list}}’
If someone is online you get a list of the usernames like this:
‘[‘PlayerA’, ‘PlayerB’, ‘PlayerC’]’
I want to make some automations based on users which are going online or offline.
So I need a trigger when a username is in the list and when a username is going out of the list.
Can someone help me with this?
Posts: 6
Participants: 3