This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Closed
date time in say commands
![jjtbsomhorst](https://secure.gravatar.com/avatar/8da56fed3380b7921a0cdeadee5dc5a8/?default=https%3A%2F%2Fvanillicon.com%2F8da56fed3380b7921a0cdeadee5dc5a8_50.png&rating=g&size=50)
in Archive
Hi,
I couldn't find it in the docs but what do I need to do to let homey say the date correctly in a translated sentence? For instance if my sentence would be something like:
"I will reserve a table for you on __date_ at __time__ at the __restaurant__" or should Homey auto detect that the string i'm passing is a date?
I couldn't find it in the docs but what do I need to do to let homey say the date correctly in a translated sentence? For instance if my sentence would be something like:
"I will reserve a table for you on __date_ at __time__ at the __restaurant__" or should Homey auto detect that the string i'm passing is a date?
This discussion has been closed.
Comments
Homey.manager('speech:output').say('__time__') or Homey.manager('speech:output').say('__date__') all works fine but if I do this:
Homey.manager('speech:output').say('The date is __date__ and the time should be __time__') the time will be interpreted as number colon number colon number. Strange..