Logic in routines
There should be a way of implementing logic into routines or other voice commands to behave different in certain occasions, by the end-user. Maybe through a simple drag and drop interface, ...
For example, if I say “Alexa, turn the lights on”, depending on the time of the day the brightness and color(-temperature) very to feel more intergrated.

-
Robert Perlitz commented
This functionality is necessary to complete even the most basic tasks. For instance, I’d like if I could ask Alexa to turn the lights off but have her leave one bulb on at low brightness as a nightlight.
-
Kenneth R. Hackbarth commented
I'd like to be able to use an echo button to turn on/off a light. If I press the button and the light is on, turn it off -- and vice versa.
-
yigal edery commented
Also, allow current status of smarthome devices to be used in the logic. E.g. if light is off and motion detected, then turn on light for X minutes.
-
James Johnson commented
Something I would like is full on if/or/not logic for routines.
For example, if my phone is at home it runs my normal routine that turns on the living room lights shortly before sunset. However, if my phone isn't home the standard routine doesn't start, due to the logic command, and instead a second routine starts so Alexa turns on and off lights to make me appear home.