Ping binary sensor with dynamic host value (value template?)

Hi everybody,
quick question, there’s a way to parameterize host ip value of a binary sensor ping or device_tracker?
I guess not, but I’m asking to be sure and see if there some workaround.
If not I will try with nodered.

thanks!

Unfortunately for the core Ping integration you guessed correctly.

You may be able to create a command line sensor. They accept templates.

1 Like

Thanks, I will use it!

@tom_l, is this because of some special considerations or use of templates is just not implemented for Ping (ICMP) - Home Assistant integration ?

Templates are for script and automation services and service data. Most integration configuration options do not accept templates. If they do they will explicitly mention this in the documentation.