嘿,谁能告诉我为什么这个Input_boolean不会在一定时间打开?这是我的自动化配置的图片…谢谢

尝试在数据之后添加{}

  • 数据: {}

对不起,这引起了配置错误?

尝试摆脱数据:完全行,只指定服务和Entity_ID

- 服务:input_boolean.turn_on entity_id:input_boolean.my_good_morning_bo .....

还要仔细注意您的标签…

1喜欢

在我的设置中起作用的是一个

-  ID:Grant_away别名:Grant离开Home Trigger:-entity_id:person.grant:Home Platform:[状态条件:[]行动: -  ENTITY_ID:INPUT_BOOLEAN.GRANTHOME服务:input_boolean.turn_on_on

还有另一个

-  ID:Grant_away_inputBoolean别名:15分钟触发器的授予: -  entity_id:input_boolean.granthome for:00:15来自:off''platform:'off'platform:state to:'on on CONDICT:[on COTCTIO:[] action:-entity_id:input_boolean.grantaway.grantaway服务:input_boolean.turn_on

谢谢您的回复,我仍然无法正常工作,我将配置更改为什么@Aheath说,仍然没有打开……我看不到我在做什么错?谢谢

您可以发布整个代码而不是屏幕截图,可能会帮助某人能够复制粘贴以尝试

1喜欢
  • ID:“ 1563215568652”
    别名:已经变成了
    扳机:
    • 在:09:36:00
      平台:时间
      健康)状况: []
      行动:
    • entity_id:input_boolean.my_good_morning_bool
      服务:input_boolean.turn_on

对不起,这更好。

您在PC或电话上吗?

电话对不起,我知道缩进不正确...:Grimacing::Grimacing:

在电话上寻找,它将有点粘贴代码

我尝试了您的代码,对我有用。晚餐后会发布我的。

我在'19:53'时添加’

-  id:'1563267910948'别名:新自动化触发器: -  at:'19:08'平台:时间动作:服务:input_boolean.turn_on entity_id:input_boolean.granthome

你会的

-ID:'1563215568652'别名:已经变成触发器: -  at:'19:08'平台:时间动作:服务:input_boolean.turn_on entity_id:input_boolean.my_good_morning_morning_bool

@jak123uk

发现很难说这件事而不会看起来很粗鲁,所以我只是要以最好的默认字体来询问我可以:眨眼:

您阅读以下内容: -

请特别记录第11点,以及有关代码块的注释。

我没有去这里 - 只是想为您提供尽可能快的帮助。在不可能的情况下,读取不在代码块中的代码几乎是不可能的,而YAML对于如何选择代码非常挑剔。

您需要做的代码块就是在适当的位置使用适当数量的背滴。一旦知道了如何,这很容易,但是您需要学习如何。有一个链接来解释如何在第11点进行操作。

我认为您的自动化没有任何问题。您应该检查以确保自动化本身已打开。

尝试此示例。调整时间到您需要的时间,并确认自动化是(否则,它永远不会触发)。

-  id:'1563215568652'别名:已经变态扳机:平台:时间:'09:36:00'动作:服务:input_boolean.turn_on_on entity_id:input_boolean.my_good_morning_morning_boolean_boolean_boolean

…菲尔(Phil)的忍者…

1喜欢

Just want to say thank you for everyone that replied and helped me out… The input_boolean now works or so I think I need to wait till 12 o’clock tonight to see if it triggers it back on… but I had set it to on before I went to bed and it called the trigger last night… so in theory it’s off now until it triggers at 12 o’clock to turn it back on ready for the morning!! Fingers crossed!