#I'm new in Home Automation.
1 messages · Page 1 of 1 (latest)
Have you connected your dishwasher already?
To me it sounds like you want:
- https://www.home-assistant.io/integrations/input_datetime for the start time of the washer
- The button card to use the
tap_actionto make a service call to set that to 01:00 or 13:00 - #frontend-archived can help there - An automation with a time trigger using that
input_datetimeto start the dishwasher - #automations-archived can help there, once you've done the above steps
Are you french ? I'am.
Let me check your steps
For the step 1 :
I have set in the configuration.yml : (and quick restart)
input_datetime: both_date_and_time: name: Input with both date and time has_date: true has_time: true only_date: name: Input with only date has_date: true has_time: false only_time: name: Input with only time has_date: false has_time: true
You'd (clearly) want the only_time one
You can also create that under Helpers in the UI
For the step 2 :
I have create the helpers time of step 1 and i haved defined the time.
In my button, i called the service "set_time" and i use entity "helpers"
The entity would be input_datetime.only_time
For now, i used my lightgning for test and example
I have just input_datetime.set_time or input_datetime.reload
in my entity :/
Yes, it's here i'm noob.. because i don't find the button "create entity", i go in the menu "Device & service" and i don't find create entity
yes sorry i have input_datetime.only_time
So in my button, i have called in tap action : "Call service" > Service : "Input datetime: Set" > entity : input_datetime.only_time
it's good ?
And you need to tell it what to set it to
Always in the button ?
Yes
If you want more then you need to have the button call a script and then the script can get fancy
Ok but i have just "The target time" so for only one hours
and i want for 2 choice 01:00 PM or 01:00AM
Then a script with an if using a time condition
Between 01:00 and 12:59 set the time to 13:00, else set the time to 01:00
Sorry, It doesn't make sense to me :/
Why between ? because i want just to start when i tap in the button for 01:00PM or 01:00AM, just. A condition is never equal ?
Then explain when you want it to be set to 01:00 and when 13:00
Ok if you have time, can you show me in my homelab pls ? with teamviewer or other ?
No
Re tinkerer
I have set that :
Menu automation :
Triggers : light turned off
Conditions : Confirm the time is after 1:55 PM and before 1:59 PM
Actions : Call a service 'Light: Turn on' on light
Button cards :
tap action : call service
Service : Input datetime: Set
Choose entity : input_datetime.only_time
Menu Helpers :
Input with only time : set to 1:56PM
And light not turn on
It's an example of configuration for my dishwashers, i try on this light before
Look in automations.yaml and share the YAML from there
- id: '1703121967606'
alias: test
description: ''
trigger:
- platform: device
type: turned_off
device_id: 7090e8a0fe3e5b0b9ef18786a79b2312
entity_id: 96758598c70132079d2032340869664c
domain: light
condition:
- condition: time
after: '13:55:00'
before: '13:59:00'
weekday:
- sun
- mon
- tue
- wed
- thu
- fri
- sat
action:
- service: light.turn_on
target:
entity_id:
- light.yeelight_color4_0x1779acd9
device_id: []
area_id: []
data: {}
mode: single
This is the automation.yaml
And what does the trace show?
See too the pins in #automations-archived for how to test
Trace :
Triggered by the state of light.yeelight_color4_0x1779acd9 at December 21, 2023 at 1:59:37 PM
Test Confirm the time is after 1:55 PM and before 1:59 PM
Stopped because a condition failed at December 21, 2023 at 1:59:37 PM (runtime: 0.00 seconds)
Is not really easy for the simple automation :/
Ok, i go to this channel for more help
thanks a lot, you can close this channel 😉
Hi, i new here, and i just read there some French HA here ?