Hope I got your attention
Let’s use Home Assistant not only to automate our homes, but also our love lives!
I need your help!
The idea is that it takes 36 questions to fall in love with someone (it’s science and It’s in the paper!)
Reading them from a list is boring; so I want to use the Aqara Magic Cube for it. Only by flipping from side to side there are 36 triggers: 1 -> 2, 1 ->3 etc.
A simple example is:
This is the code for it:
- id: '1601567476657'
alias: '| Cube 1 naar 2'
description: ''
trigger:
- platform: event
event_data:
id: cube_switch
event: 2001
event_type: deconz_event
condition: []
action:
- service: tts.cloud_say
data:
entity_id: media_player.kantoor
message: What is the greatest accomplishment of your life?
options:
gender: female
language: en-US
mode: single
But this requires 36 automations with a question per automation.
Is there a way to randomise this without asking a question twice?
Or is it possible to create 1 base automation that uses a list to get it’s questions?
Another idea I have is to break it into different levels of questions. So that for example when you drop the cube or tap it twice it cycles to a different list of questions and to make this visible a nearby light turns from yellow to blue.
I’m still a HA novice so I would think about an automation that switches of a list of automations and turns on others, but I’ve got a feeling this can be done much more effective and lean.
I’m curious about your ideas and suggestions!
Cheers, Ruben