-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
Get-History Entity ID Include returns 'Request failed with status code 400' starting HA Core 2023.05 #924
Labels
bug
Something isn't working
Comments
I'll have to see if there's a way to accomplish wildcard look-ups still. |
A temporary solution would be to use the get-entities node and build the entity id list and send that to the get-history node.
|
Thanks for the suggestion, will work those in! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Since 2023.05, when get-history node attempts using Entity ID INCLUDE returns "Request failed with status code 400"
I have nodes which use INCLUDE "binary_sensor.[star]_sensor_motion[star]" as well as INCLUDE "device_tracker." which all worked before 2023.05. Also Entity ID IS (vs INCLUDE) seems to work with no problem, just the INCLUDE does not. I've been trying to do some digging, (tried the Node-Red Forums) and been redirected back to HA Core and zeroing in on here.
Add-on: Node-RED
Flow-based programming for the Internet of Things
Add-on version: 14.1.5
You are running the latest version of this add-on.
System: Home Assistant OS 10.1 (amd64 / generic-x86-64)
Home Assistant Core: 2023.5.2
Home Assistant Supervisor: 2023.04.1
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
To Reproduce
1: Get History Node
2: Entity ID change from IS (Default) to INCLUDE
3: Put in a wild card, such as device_tracker or binary_sensor.[star]_motion_sensor[star]
4: Deploy and inject test.
Entity ID IS something works fine
Entity ID INCLUDE something returns "Request failed with status code 400"
Expected behavior
Expected Entity ID Include to return results, which worked before 2023.05
Screenshots
Example Flow
This package's version (not the Home Assistant add-on version)
0.49.1
Is Node-RED running in Docker?
Home Assistant add-on
Node-RED version
3.0.2
Node.js version
18.14.2-r0
Additional context
Doing some digging in previous issues and seems like get-history relies upon the REST API. Found this issue where there is discussion about recent changes to REST due to SSL Cipher List. Was trying to follow to see if it is related, but unsure.
home-assistant/core#92500
May not be related since Entity ID IS works but Entity ID Include does not.
The text was updated successfully, but these errors were encountered: