Misiu / argon40

Home Assistant support for Argon ONE Pi 3 & 4 cases and Argon Fan HAT
MIT License
118 stars 21 forks source link

No argon40 integration in core-2021.11.3 #30

Closed ThierryBourbon closed 2 years ago

ThierryBourbon commented 2 years ago

Hi, core-2021.11.3 supervisor-2021.10.8

I have copied argon40 folder from master branch So I have the 4 files custom_components/argon40/init.py custom_components/argon40/const.py custom_components/argon40/manifest.json custom_components/argon40/services.yaml

I restarted home assistant twice, clear navigator cache but I don't have any argon integration in configuration add integration.

It is a compatibility problem ?

Misiu commented 2 years ago

I think not. Did you add entry to configuration.yaml? It is needed because for now my component doesn't support config flow.

ThierryBourbon commented 2 years ago

Thank for your answer... I added argon40: in my configuration.yaml, (and sensor and automation) I have the message :: The following integrations and platforms could not be set up: argon40

Misiu commented 2 years ago

You must enable I2C. This is the reason for that, message.

ThierryBourbon commented 2 years ago

It's ok with I2C Thank's

ThierryBourbon commented 2 years ago

even if I no longer have the message "The following integrations and platforms could not be set up: argon40", when I call the set service in the development tools with data 40, I have this result (fan speed don't change)

image

Misiu commented 2 years ago

@thierry-rhone try putting:

speed: 40

as service data. This should do the trick.

ThierryBourbon commented 2 years ago

Thank you

Misiu commented 2 years ago

@thierry-rhone did you manage to get the integration working? If the service works please close the issue. Thank you.