jxlarrea / ha-emfitqs

Emfit QS Sleep Tracker Component for Home Assistant
GNU Lesser General Public License v3.0
18 stars 4 forks source link

Can't add to HA #11

Closed ukd1 closed 10 months ago

ukd1 commented 10 months ago

I'm getting an error when adding via HACS to HA

image

If I try add directly, it says to add via config. If I add via config, it errors like above.

My config is:

emfitqs:

sensor:
  - platform: emfitqs
    host: 192.168.86.193 # Replace with your Emfit QS device IP Address.
    scan_interval: 10
    resources:
      - heart_rate
      - respiratory_rate
      - activity_level
      - seconds_in_bed

binary_sensor:
  - platform: emfitqs
    host: 192.168.86.193 # Replace with your Emfit QS device IP Address.
    scan_interval: 10
    monitored_conditions:
      - bed_presence

Versions of things:

Core: 2024.1.3
Supervisor: 2023.12.1
Operating System: 11.4
Frontend: 20240104.0
jxlarrea commented 10 months ago

@ukd1 Can you try removing the first line ("emfitqs:")?

ukd1 commented 10 months ago

@ukd1 Can you try removing the first line ("emfitqs:")?

thanks, that worked - would you take a PR to update your docs?

jxlarrea commented 10 months ago

@ukd1 Can you try removing the first line ("emfitqs:")?

thanks, that worked - would you take a PR to update your docs?

Glad it worked! Already updated the docs.