BottlecapDave / HomeAssistant-OctopusEnergy

Unofficial Home Assistant integration for interacting with Octopus Energy
https://bottlecapdave.github.io/HomeAssistant-OctopusEnergy/
MIT License
564 stars 55 forks source link

HACS Install #27

Closed Gadgit83 closed 2 years ago

Gadgit83 commented 2 years ago

Hiya, great work, looking forward to trying this! Just wondering if you had considered submitting to the Home Assistant Component Store to make installation and updating one click easier?

https://hacs.xyz/docs/publish/start

BottlecapDave commented 2 years ago

I hadn't considered, but I'll take a look at some point in the future.

dunxd commented 2 years ago

I added this repository to HACS and it installed fine that way. I think it even picks up updates - I am on 2.0 and have been using this since 18th October. 2.0 is newer than that right?

BottlecapDave commented 2 years ago

Glad to hear that you can use it with HACS already. I'll still take a look at getting it listed at some point in the future.

Gadgit83 commented 2 years ago

Same here, installed no problem by manually adding to HACS

fak316 commented 2 years ago

how do you install this via HACS? I've added the custom repo to HACS and I can see it as installed as an integration in my HACS. But when I go to Home Assistant -> Settings -> Integrations I'm unable to find anything called OctopusEnergy. So I can't figure out how to configure it with my Octopus Account etc.

Thanks!

BottlecapDave commented 2 years ago

HI @fak316. I've just started looking into the HACS configuration. I believe after you've added the custom repository, you then need to download the repository via HACS (which I believe you've done). For it to appear in the integrations section of Home Assistant, you need to restart your instance first.

Smart2TDad commented 2 years ago

Hi, I’ve the same issue as @fak316. I’ve download the repository via HACS, I can see the custom component in the file system and restarted HA. It doesn’t appear in the integrations list for some reason. It can see that HA is loading it as it’s flagging a warning about the non-tested component in the logs. Can you help? Thanks.

BottlecapDave commented 2 years ago

Sorry to hear you're having issues @Smart2TDad. What you've done is all that should be required. Are you able to add the following in your configuration.yaml file?

logger:
  default: debug
  logs:
    custom_components.octopus_energy: debug

As this will hopefully provide more insight into why the integration is not appearing.

BottlecapDave commented 2 years ago

Also this integration is now installable directly via HACS

Smart2TDad commented 2 years ago

Thanks David. I tried this a few days ago as I saw someone else had had that suggestion. I added the debugger lines into the config and it worked after I did that.


From: David Kendall @.> Sent: Sunday, August 28, 2022 6:51 am To: BottlecapDave/HomeAssistant-OctopusEnergy @.> Cc: Smart2TDad @.>; Mention @.> Subject: Re: [BottlecapDave/HomeAssistant-OctopusEnergy] HACS Install (Issue #27)

Sorry to hear you're having issues @Smart2TDadhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSmart2TDad&data=05%7C01%7C%7C253246ee140c4d1226bb08da88b95ca7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637972626954740823%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=gnKU5K9OgOGp%2FFMIxysNu0D2vRaeRBEY6wBJEwZP2hw%3D&reserved=0. What you've done is all that should be required. Are you able to add the following in your configuration.yaml file?

logger: default: debug logs: custom_components.octopus_energy: debug

As this will hopefully provide more insight into why the integration is not appearing.

— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FBottlecapDave%2FHomeAssistant-OctopusEnergy%2Fissues%2F27%23issuecomment-1229382469&data=05%7C01%7C%7C253246ee140c4d1226bb08da88b95ca7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637972626954740823%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=a9%2FHfCtazpcNUe4K1k6HBPGTZChDb6%2BlrPBq5ue3jKg%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA2W7JQP35NMTK4MRIYOYBKDV3L46JANCNFSM5I4APXDA&data=05%7C01%7C%7C253246ee140c4d1226bb08da88b95ca7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637972626954740823%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=bKwlp4wJ4vhLSXk1VBJgS0uKy32XcH3kbKKMWRuqYYk%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>

BottlecapDave commented 2 years ago

Ok Thanks @Smart2TDad. Now that your issue has been resolved and it's available in HACS I'm going to close this issue.