hassio-addons/addon-node-red

template node does not work correctly with person #466

ciB89 posted onGitHub

Problem/Motivation

I found a bug in the ‘get template’ node:

{{ is_state("person.bob", "home") }} returns Truein the template editor in Home Assistant, but when I use the ‘get template’ node it returns False. I tested it with other persons too and it’s the same.

Expected behavior

{ is_state("person.bob", "home") }} should return Truewhen the person is home.

Actual behavior

{ is_state("person.bob", "home") }} returns False

Steps to reproduce

Create a person with device tracker in HA. Create a 'get template' node in node-red and enter { is_state("person.X", "home") }}

Proposed changes


:wave: Thanks for opening your first issue here! If you're reporting a :bug: bug, please make sure you include steps to reproduce it. Also, logs, error messages and information about your hardware might be useful.

posted by addons-assistant[bot] about 5 years ago

Hi!

This is the Node-RED add-on. Add-ons wrap existing applications (and in this case node palettes as well).

Please report this issue with the node that belongs to this.

posted by frenck about 5 years ago

My bad!

posted by ciB89 about 5 years ago

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

posted by addons-assistant[bot] about 5 years ago

Fund this Issue

$0.00
Funded

Pull requests