-
-
Notifications
You must be signed in to change notification settings - Fork 523
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
Clarify shortcut usage in readme.md #745
Comments
I struggle a bit with getting this to work.
When clicking the icon, I get: Any idea? |
'data:' before 'segements:' is superfluous. |
Tried removing it, but it still throws the same error. I’ve tried all kinds of variants and believe I’m really close, but can’t seem to get it just right…
And
|
Your config needs to either look exactly as provided here: https://github.com/denysdovhan/vacuum-card/ (= You need to create a script in HA that makes the MQTT call) or use my variant (= do mqtt.publish directly). But not a mix of both. |
I’m not trying to do a mqtt.publish, but to call a different service (“service: xiaomi_miio.vacuum_clean_segment”). Since the mqtt.push-service can be called directly, I expect all kinds of service calls can be called directly? |
Valetudo uses MQTT. So you'll definitely need the MQTT part somewhere. |
I don’t use Valetudo, I use the Xiaomi Miio integration. The same code works fine when used in an automation. It’s when copying it from an automation and to the shortcut-section of this cards it fails. |
One does not necessarily need a script. A direct service call is possible:
The text was updated successfully, but these errors were encountered: