Skip to content

Commit

Permalink
fix illuminance unit to lx
Browse files Browse the repository at this point in the history
On branch main
Your branch is up to date with 'origin/main'.

Changes to be committed:
	modified:   tsl2561-homie.py
  • Loading branch information
alaub81 committed Aug 10, 2023
1 parent 4f415a2 commit 53446a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsl2561-homie.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def on_connect(client, userdata, flags, rc):
publish(nodes + "/$name","TSL2561 Sensor")
publish(nodes + "/$properties","lux,broadband,infrared")
publish(nodes + "/lux/$name","Lux")
publish(nodes + "/lux/$unit","lux")
publish(nodes + "/lux/$unit","lx")
publish(nodes + "/lux/$datatype","float")
publish(nodes + "/lux/$settable","false")
publish(nodes + "/broadband/$name","Broadband")
Expand Down

0 comments on commit 53446a3

Please sign in to comment.