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

Assist For Solar #99

Open
3 of 5 tasks
dannytsang opened this issue Dec 30, 2023 · 1 comment
Open
3 of 5 tasks

Assist For Solar #99

dannytsang opened this issue Dec 30, 2023 · 1 comment

Comments

@dannytsang
Copy link
Owner

dannytsang commented Dec 30, 2023

Add Home Assistant Assist for solar related information and actions. Some already exists so these are new ideas.

  • Changing mode - export, battery, grid
  • Current and next unit rate
  • Charging schedule
  • Info and action to toggle for below export
  • Info and action to toggle for below 0p/kw
@dannytsang
Copy link
Owner Author

Parking this for now. Custom sentences seems flaky.

For example:

language: "en"
intents:
  abc:
    data:
      - sentences:
          - "[How much] battery [is] left"
  getBatteryLevel:
    data:
      - sentences:
          - "How long will the battery last"

intent_script:
  abc:
    speech:
      text: "Test"
  getBatteryLevel:
    speech:
      text: "{{ states('sensor.growatt_sph_battery_state_of_charge', with_unit=True) }}"

How long will the battery last will work yet when I swap the intent around:

# Created by Danny Tsang <[email protected]>
language: "en"
intents:
  abc:
    data:
      - sentences:
          - "How long will the battery last"
  getBatteryLevel:
    data:
      - sentences:
          - "[How much] battery [is] left"

intent_script:
  abc:
    speech:
      text: "Test"
  getBatteryLevel:
    speech:
      text: "{{ states('sensor.growatt_sph_battery_state_of_charge', with_unit=True) }}"

and asking assist How long will the battery last it will not work. I tried separating each intent and intent_script to a separate file, intent name and still cannot get it to work.

dannytsang added a commit that referenced this issue Apr 23, 2024
Added remaining to the conversation for battery level.

Update #99
@dannytsang dannytsang removed the blocked label Jun 3, 2024
dannytsang added a commit that referenced this issue Jun 3, 2024
Added export schedule conversation to assist.

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

No branches or pull requests

1 participant