akx / hass-ruuvitag

Hass.io addon for Ruuvitag Weather Stations
MIT License
24 stars 7 forks source link

How add 2nd tag (invalid yaml) #25

Closed McPaHa closed 3 years ago

McPaHa commented 4 years ago

Hi!

Sorry to bother but what is correct procedure to add second ruuvitag? What I have to write to configuration page?

At the moment configuration is:

interval: 30
debug: 0
tags:
  - id: c3c89c0e433b
    name: sauna
    enabled: true
    temperature: true
    pressure: true
    humidity: true
    battery: true
    acceleration: false
    accelerationX: false
    accelerationY: false
    accelerationZ: false

And log is telling me:

To have its status posted to Home Assistant, add the following to the tags configuration: {"id":"cdc31baa8a4b","name":"some-name","enabled":true,"temperature":true,"pressure":true,"humidity":true,"battery":true,"acceleration":false,"accelerationX":false,"accelerationY":false,"accelerationZ":false}

I've tried this multiple ways but it gives me YAML error every time... Any help?

Zilenzioo commented 4 years ago
interval: 30
debug: 0
tags:
  - id: df4467928bb6
    name: Sensor1
    enabled: true
    temperature: true
    pressure: true
    humidity: true
    battery: true
    acceleration: false
    accelerationX: false
    accelerationY: false
    accelerationZ: false
  - id: c60b2a13487a
    name: Sensor2
    enabled: true
    temperature: true
    pressure: true
    humidity: true
    battery: true
    acceleration: false
    accelerationX: false
    accelerationY: false
    accelerationZ: false
  - id: f3a86a15d139
    name: Sensor3
    enabled: true
    temperature: true
    pressure: true
    humidity: true
    battery: true
    acceleration: false
    accelerationX: false
    accelerationY: false
    accelerationZ: false
McPaHa commented 4 years ago

Thx man! I really don't know what I did wrong before...

akx commented 3 years ago

Apparently solved, so closing :)