How to install in home assistant #81
Replies: 6 comments 8 replies
-
Since the 2022.5 release this is the one bundled with home-adsistant
…On Thu, 3 Aug 2023, 00:04 eamonnogorman, ***@***.***> wrote:
Hi,
Sorry for probably a fact question, but how do I replace my existing
velbus integration in home assistant with this one ?
Thanks,
Eamon
—
Reply to this email directly, view it on GitHub
<#81>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA4LF4PHUYZABWKKTCCV47TXTLFGVANCNFSM6AAAAAA3B4JCH4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
can you get me a bit more info from the logs? |
Beta Was this translation helpful? Give feedback.
-
Hi cereal2nd, were those logs any good or do you need them in a different format? |
Beta Was this translation helpful? Give feedback.
-
Hi, I have a fork (sidlgor) of the code that I would like to load in home assistant but I cannot figure out on how to do it. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for help, but still strugling ...
>> I copied the Velbus integration from the official Home Assastant
repo
<https://github.com/home-assistant/core/tree/dev/homeassistant/components/velbus/>
into custom_components. But it needed some fiddling with the
manifest.json to get that to work. From memory, I think I needed to add
a version attribute.
Great to have this reference, looks quit essential to understand
>>Next, you can change the dependencies to point to your own velbusaio
fork. That part is explained in the docs
<https://developers.home-assistant.io/docs/creating_integration_manifest/#custom-requirements-during-development--testing>.
Unsure about this: did you mean "requirements" instead of "dependencies"
? (dependencies are set to usb)
What would be the correct requirement for my fork ? What should <git
ref> look like?
"requirements": ["velbus-aio @
git+https://github.com/sidlgor/velbus-aio.git@<git ref>"]
>>> But I didn't manage to get a local velbusaio directory working, and
HA tries to be helpful to not download the same dependency twice, so I
ended up bumping the version-number and pushing every time I changed
something. I'm trying to find an easier way, but haven't found it yet.
Really don't mind about that at this point 🤪 I would be very happy to
get anything working!
…
Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
One more thought: instead of adding a requirement to a git fork,
wouldn't it work to just copy (merge) the files from the fork into the
custom_components? At that moment we could have velbusaio completely
local?
…------ Original Message ------
From "niobos" ***@***.***>
To "Cereal2nd/velbus-aio" ***@***.***>
Cc "sidlgor" ***@***.***>; "Comment"
***@***.***>
Date 24/06/2024 12:22:20
Subject Re: [Cereal2nd/velbus-aio] How to install in home assistant
(Discussion #81)
I copied the Velbus integration from the official Home Assastant repo
<https://github.com/home-assistant/core/tree/dev/homeassistant/components/velbus/>
into custom_components. But it needed some fiddling with the
manifest.json to get that to work. From memory, I think I needed to add
a version attribute.
Next, you can change the dependencies to point to your own velbusaio
fork. That part is explained in the docs
<https://developers.home-assistant.io/docs/creating_integration_manifest/#custom-requirements-during-development--testing>.
But I didn't manage to get a local velbusaio directory working, and HA
tries to be helpful to not download the same dependency twice, so I
ended up bumping the version-number and pushing every time I changed
something. I'm trying to find an easier way, but haven't found it yet.
—
Reply to this email directly, view it on GitHub
<#81 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACBL57RZ4C7OFLVFGG7RNTLZI7XNZAVCNFSM6AAAAABJZH4HRGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TQNJYHE4TG>.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi,
Sorry for probably a fact question, but how do I replace my existing velbus integration in home assistant with this one ?
Thanks,
Eamon
Beta Was this translation helpful? Give feedback.
All reactions