What I'm trying to do, is an WAN-Connection check. So I'm doing a ping to Google DNS, and if this ping fails, I want an binary_sensor entity in Homeassistant to show, that there's no Internet connection available. I'm experimenting with the "Entity-Node", got the websocket extension via HACS installed, but have no clue how to get the rest done.
I want the binary sensor to show false if the Ping msg. is false, and true if the Ping node msg is anything other than "False". Can you help me to configure the node correctly?