New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
command_line sensor with templated command: inconsistency (still) #75601
Comments
command_line documentation |
Case 8:
Output is: Error in the log:
Case 9:
Output: Error in the log:
Case 10:
Output: |
bump |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Up |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Up |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
up |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
up |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
up |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Still. |
Same here on the 2024.3.0 version. |
The problem
Last year I opened an issue here and one day it was closed automatically. Probably I should have monitored it once a week to prevent it become stale and closed.
After almost a year a situation is almost the same. Details are below.
Here is the old issue:
#58847
Templates in
command-line
sensors do not work as they do intemplate
sensors.Case 1:
This does not contain templates and DOES WORK:
Output is:
hello 123
Case 2:
This contains templates and DOES WORK:
Output is:
hello below_horizon
Case 3:
This contains templates and DOES NOT WORK:
Output is:
unknown
Error in a log:
Case 4:
This contains templates and DOES WORK (last year it worked only if "state=ON"):
Output is:
total used free shared buff/cache availableMem: 3.8G 1.4G 873.9M 10.3M 1.5G 2.1GSwap: 975.0M 12.0K 975.0M
or
total used free shared buff/cache availableMem: 3898 1471 877 10 1550 2168Swap: 975 0 975
Case 5:
This contains templates and DOES WORK (last year it worked only if "state=ON"):
Output is:
total used free shared buff/cache availableMem: 3.8G 1.4G 879.4M 10.3M 1.5G 2.1GSwap: 975.0M 12.0K 975.0M
or
total used free shared buff/cache availableMem: 3898 1468 880 10 1551 2172Swap: 975 0 975
Case 6:
This contains templates and DOES NOT WORK:
Output is:
unknown
Error in a log:
Case 7:
This contains templates and DOES WORK (last year it worked only if "state=ON"):
Output is:
total used free shared buff/cache availableMem: 3.8G 1.4G 877.9M 10.3M 1.5G 2.1GSwap: 975.0M 12.0K 975.0M
or
total used free shared buff/cache availableMem: 3898 1468 877 10 1553 2171Swap: 975 0 975
What version of Home Assistant Core has the issue?
2022.7.6
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
command_line
Link to integration documentation on our website
https://www.home-assistant.io/integrations/command_line
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: