• 3 Posts
  • 70 Comments
Joined 1 year ago
cake
Cake day: April 24th, 2023

help-circle














  • I did just check to see if you can pass along wildcards in an automation, which you can! I used this automation:

    alias: sentence test
    description:
    trigger:
      - platform: conversation
        command:
          - When is [my] {date}
    condition: []
    action:
      - set_conversation_response: curses, that damnable {{ trigger.slots.game }}
        enabled: false
      - choose:
          - conditions:
              - condition: template
                value_template: '{{ ''birthday'' in trigger.slots.date }}'
            sequence:
              - set_conversation_response: >-
                  curses, that damnable {{ trigger.slots.date }}! It completely
                  slipped my mind
          - conditions:
              - condition: template
                value_template: '{{ ''christmas'' in trigger.slots.date }}'
            sequence:
              - set_conversation_response: sir you know when {{ trigger.slots.date }} is!
    

    This should give you a framework to build off of. It looks like when you don’t define a list of slots in an intent it just passes the wildcard along in a slot.





  • I’m trying to find that out myself, just started playing with it yesterday. Right now I’ve got a personal store of recipes in CopyMeThat, and that’s got some nice features like meal planning and shopping lists but its not integrated into anything.

    I’ve seen a few approaches so far, some guy on the forums has all the ingredients stored in the front matter and uses dataviewjs to display them in the note which allows for unit conversion but I think that’s too much, I still want to be able to read them without obsidian.

    Right now I’ve got tags and method and ingredients in the front matter along with checklist add-on formatted tasks in the main part of the note. Eventually I want to have it pull a recipe at random and put it in my weekly note or something.