johnpdowling / custom_components

custom components (new and overrides) for 0.91+ home assistant
Apache License 2.0
19 stars 6 forks source link

Setup failed for forked-daapd: No setup function defined. #1

Closed nicx closed 4 years ago

nicx commented 5 years ago

Hi @johnpdowling, I tried your custom component (which I was waiting/looking for months now). Great idea btw! :)

I added it to my Home Assistant configuration with "forked-daapd:" only, then I get this error on start:

Setup failed for forked-daapd: No setup function defined.

What can I do? How is this component correctly configured in my configuration.yaml?

nicx commented 5 years ago

hey @johnpdowling any chance to get an answer? would be great :)

johnpdowling commented 4 years ago

Hi @nicx,

It's configured just like itunes in configuration.yaml, only the optional port defaults to 3689.

media_player:
  - platform: forked-daapd
    host: !secret forked-daapd-ip
    port: 3689

Hope this helps!