Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

Problem with Binary_Sensor for use of mqtt

$
0
0

@angeltonio wrote:

Hello, I am new to this forum and I want to apologize for ignorance I have the following configuration in my configuration.yaml.

binary_sensor:

  • platform: mqtt
    name: “Door”
    command_topic: “L”
    state_topic: “L”
    qos: 1
    payload_on: “P”

  • platform: ping
    name: Door Sensor
    host: 10.8.0.11
    scan_interval: 10

But it gives me this error
Invalid config for [binary_sensor.mqtt]: [command_topic] is an invalid option for [binary_sensor.mqtt]. Check: binary_sensor.mqtt-> command_topic. (See?, Line?). Please check the docs at https://home-assistant.io/integrations/mqtt/

And that in the article

Tell me that this gets like this ??? … I don’t understand why the mistake … can someone help me thanks in advance … regards

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>