Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation not clear when not installing via HACS #5

Open
Pigi-102 opened this issue Jan 27, 2022 · 1 comment
Open

Documentation not clear when not installing via HACS #5

Pigi-102 opened this issue Jan 27, 2022 · 1 comment

Comments

@Pigi-102
Copy link

I'm trying to make this work but installing by hand.
One I've downloaded and copied files to the relvant directory and restarted homeassistant I can't find neither the integration nor the lovelace card.

Would you be so kind to make a better documentatin for those that have no access to HACS ?

Thanks

@Pigi-102 Pigi-102 changed the title Documentation not cleart when not installing via HACS Documentation not clear when not installing via HACS Jan 27, 2022
@FrancisLab
Copy link
Owner

@Pigi-102 copying the files to the relevant directory should be all that is needed to make the custom component available. Can you see any related errors under "Configuration -> Settings -> Logs"?

The custom component will not appear as an integration in the UI under "Configuration -> Integrations". At the moment, it's only usable through the configuration.yaml file. Supporting UI configuration would require some extra work I believe. Have you tried adding a minimal configuration to configuration.yaml? Something like:

switch:
  - platform: climate_scheduler
    name: Test Scheduler
    climate_entities:
      - <THE_CLIMATE_ENTITY_YOU_WANT_TO_CONTROL>
    profiles:
     - id: "Empty Profile"

It also will not create a new lovelace card. The UI shown in the documentation is built from a vertical stack card containing a thermostat card and an entities card. The entities card contains the switch & input_select entities generated by the custom entity. Code for the card looks something like:

cards:
  - entity: climate.bedroom
    type: thermostat
  - type: entities
    entities:
      - entity: switch.climate_scheduler_bedroom
      - entity: input_select.bedroom_climate_profile_selector
type: vertical-stack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants