4

I am trying to setup a binary icmp sensor to see when my TV is on or off.

I have added this to my configuration.yaml

# Sensors
sensor:
 #TCL 
 - platform: ping
   host: 192.168.0.1

and I am getting the following error when I try to check the config:

Configuration invalid
Platform not found: sensor.ping

Version:0.84.6 (HASS.io)

Anyone know if I'm missing something obvious?

Cheers,

Aaron

3

Silly me!

It is a binary sensor so it should be:

binary_sensor:
#TCL 
  - platform: ping
    host: 192.168.0.1
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.