Giter Club home page Giter Club logo

Comments (6)

kristiankielhofner avatar kristiankielhofner commented on May 18, 2024

This is unfortunate. We don't see this but we're all running 2023.5 and while we already have some HA compatibility code for API support on older versions we haven't yet formalized our official HA version requirements.

We'll have to ponder this one a bit and get back to you.

from willow.

fridgehead avatar fridgehead commented on May 18, 2024

Not to worry, I've updated my Hass install and it's working properly now (although the assistant still isn't very good!)

from willow.

kristiankielhofner avatar kristiankielhofner commented on May 18, 2024

Great!

Appreciate that but other users will almost certainly also encounter this so we'll have to come up with a reasonable approach to handle this as we intend to support reasonably up-to-date HA users (starting from 2023.1, most likely).

With time it becomes a non-issue as users will more and more have upgraded to recent HA versions that don't have this issue.

from willow.

rogerquake avatar rogerquake commented on May 18, 2024

I'm on the latest HA version and I am noticing this also. I created a custom automation to listen for names on songs or albums and then play them. It is always failing though since it adds a period to the end. Any good way to fix this?

from willow.

nikito avatar nikito commented on May 18, 2024

I also have routines to play music by artist or song name and have not run into this. Have you tried triggering your automation from the assistant prompt? Usually HA ignores the periods or punctuations at the end of the sentences.

from willow.

rogerquake avatar rogerquake commented on May 18, 2024

It was only happening when sending the sentence to play a specific music track on my Logitech Media Server. If I send the value and do a search for a track vs. a specific track title it works fine.

I did however figure out a fix for the specific track issue by doing a replace in the automation:

service: squeezebox.call_method
data:
command: playlist
parameters:
- addalbum
- ""
- ""
- "{{ trigger.slots.album | replace(".", "") }}"
target:
entity_id: media_player.office_2
enabled: true

This doesn't work very well since it needs to be so specific. I've settled on doing a search where having the period doesn't matter:

  • track.titlesearch= '{{ trigger.slots.album | replace(".", "") }}'

from willow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.