Skip to content
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

Attributes in binary_sensor missing [0.57.0 beta 1] #1079

Closed
klatka opened this issue Sep 27, 2023 · 2 comments · Fixed by #1070
Closed

Attributes in binary_sensor missing [0.57.0 beta 1] #1079

klatka opened this issue Sep 27, 2023 · 2 comments · Fixed by #1070

Comments

@klatka
Copy link

klatka commented Sep 27, 2023

Describe the bug

I have a binary_sensor defined in Node-RED with some attributes.

After upgrading to beta and updating companion to 3.0.0 the binary sensor shows only the first defined attribute from the list in HA.

To Reproduce

No response

Expected behavior

No response

Screenshots

No response

Example Flow

No response

This package's version (not the Home Assistant add-on version)

0.57.0 beta 1

Is Node-RED running in Docker?

Yes

Node-RED version

3.1.0

Node.js version

16+

Additional context

Home Assistant 2023.9.3
Supervisor 2023.09.2
Operating System 10.5
Frontend 20230911.0 - latest

@zachowj
Copy link
Owner

zachowj commented Sep 27, 2023

Attributes are working for me in binary sensors. Can you provide an example flow?

@dscao
Copy link

dscao commented Sep 28, 2023

Attributes in sensor missing [0.57.0 beta 1 and 0.57.0 beta 2]

I have some sensor defined by hass-node-red in Node-RED with some attributes.

After upgrading to beta and updating companion to 3.0.0 the sensor shows only the first defined attribute from the list in HA.

5

2023/9/29 00:49:21[节点: debug 223]
msg.payload : Object
object
subsId: "b38c63c177864768a7717dbe645466de"
code: "0"
savingSum: "40.00"
balanceCurrent: "N"
totalUnpaidFee: "0.00"
showBalanceFlag: "Y"
openPrepaid: true
2023/9/29 00:49:21sensor config for 燃气余额
update state : msg :
object
type: "nodered/entity"
server_id: "9000ff8.d3d7a"
node_id: "1ab3912c.d87c8f"
state: "40.00"
attributes: object
querytime: "2023-09-28T16:49:21.087Z"
id: 663


Home Assistant 2023.9.3
Supervisor 2023.09.2
Operating System 10.5
前端版本: 20230911.0 - latest

Node-RED
Current version: 14.5.0
Ships with Node-RED v3.1

3

5

show only the first defined attribute
4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants