alextud / ha-switchbot-curtain

Controls switchbot curtain using Home Assistant
MIT License
55 stars 16 forks source link

switchbot-curtain platform not accepted #25

Open stain3565 opened 2 years ago

stain3565 commented 2 years ago

I have both manually added the repository and also downloaded using Hacs. The folder switchbot-curtain is now under the custom-components folder.

However, when adding the curtain entry to the configuration.yaml, it is not recognised:

cover:

Value is not accepted. Valid values: "mqtt".yaml-schema: http://schemas.home-assistant.io/configuration(1)

I have restarted Home Assistant so its should have been applied correctly. Certainly looks ok in Hacs

Not sure what I need to do to get this recognised.

Sorry that the code is not formatted correctly above, including the hyphen changing to a bullet point, but the Insert Code option did not appear to format anything so had to stick with unformatted. The format in my yaml is correct, it is just the platform it does not recognise.

alextud commented 2 years ago

Hey @stain3565 you should use official integration provided by home assistant. As they have a more up to date and user friendly.

stain3565 commented 2 years ago

Hi

Thanks for the reply.

I have used the HA integration but it doesn't work on my setup. It still looks like the script in custom-components is not being recognised by HA.

On Sat, 27 Nov 2021, 18:40 alextud, @.***> wrote:

Hey @stain3565 https://github.com/stain3565 you should use official integration provided by home assistant. As they have a more up to date and user friendly.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/alextud/ha-switchbot-curtain/issues/25#issuecomment-980782928, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOMJC3YPDXXUWN5SZ3I3PXLUOEQZTANCNFSM5I2ZLKNQ .