Feature Request - Display Multiple sensors on one button #204
Replies: 4 comments
-
Hi cedi, that sounds like a nice feature. I thought of something similar, but never managed to implement it. Of course, i would very much appreciate your help and a pull request. Thanks in advance :) |
Beta Was this translation helpful? Give feedback.
-
I'd like to see this as well. The thermohygrometers I use register temperature and humidity readings as separate HA entities, so they have to be displayed on separate buttons currently. I can't display all the information without running out of space on my Stream Deck. |
Beta Was this translation helpful? Give feedback.
-
This is harder to be implemented, than I first thought. As a workaround, you can create a template entity in home-assistant that contains states of other entities as attributes (like the weather entity) and use that template entity on a button. |
Beta Was this translation helpful? Give feedback.
-
I would like it too for example manage 2 togglable light with one button, one with long press and one with short press and so you can show I don't think it's possible with template entity |
Beta Was this translation helpful? Give feedback.
-
Hi there,
thank you for your incredible work.
I am primarily using this Plugin to display sensor states from my home-office on my streamdeck.
What I absolutely love the this plugin so far is the fact that I can display a sensor value and can call different actions with the short and long press buttons, all on the same streamdeck key.
However I would love the possibility to display more than just one sensor value (entity) per key.
In my specific example, I have a temp, TVOC, CO2, and PM2.5 sensor in my home-office.
I also have an air-purifier and HVAC, both integrated in homeassistant.
I would love to display both the TVOC and PM2.5 values on a button where I can then toggle my air-purifier. And on a second button I'd love to display my Temp and CO2 and toggle the HVAC.
One possible implementation for this could be by leveraging the existing "Custom labels" section, or adding a new "Advanced labels" section to display multiple sensors value.
![image](https://private-user-images.githubusercontent.com/1952599/286924849-7085bbee-a7f8-4e3e-ab5c-60c47f52cc09.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk4NTkxNTAsIm5iZiI6MTcxOTg1ODg1MCwicGF0aCI6Ii8xOTUyNTk5LzI4NjkyNDg0OS03MDg1YmJlZS1hN2Y4LTRlM2UtYWI1Yy02MGM0N2Y1MmNjMDkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDFUMTgzNDEwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZWJjZDMyNmQ4MWIxMmViMzU2YmI5OTljYTAyODM0NjQzNjhlMTM3ZDlkMWY2N2Y3YWVkOTk0NWI2N2Q5OTAwMyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.f4qTUN1BadlL5N40E2uOUaDiFr8IBBgq_xeKxaTcI2A)
For example In my current setup I use it like this:
But I could imagine a configuration that looks like this:
![image](https://private-user-images.githubusercontent.com/1952599/286925569-aace52cb-b5ab-4a5c-bbe6-3ed4832bce91.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk4NTkxNTAsIm5iZiI6MTcxOTg1ODg1MCwicGF0aCI6Ii8xOTUyNTk5LzI4NjkyNTU2OS1hYWNlNTJjYi1iNWFiLTRhNWMtYmJlNi0zZWQ0ODMyYmNlOTEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDFUMTgzNDEwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MThkZTdlNTRmZGU2YmMyNGM3OGFiOGI4MWI1MTYzOTZiNTc0YzkxYTg2Y2Y3NTc0MTgzODRkODA0OWU0NWQ3MCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.kIuosxFQMP5L1p2fSpwhdq0CyyxwUIgwJB3HwDHofKs)
Which would look like this on the button:
![image](https://private-user-images.githubusercontent.com/1952599/286925775-e19bf338-9866-4172-b1fe-1153d995c2a6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk4NTkxNTAsIm5iZiI6MTcxOTg1ODg1MCwicGF0aCI6Ii8xOTUyNTk5LzI4NjkyNTc3NS1lMTliZjMzOC05ODY2LTQxNzItYjFmZS0xMTUzZDk5NWMyYTYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDFUMTgzNDEwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTk4NDE3ODBkNDcyZGFjNzNhY2YyYTJjNDgwZmE3ZGIwYjI2ODUyMTgzYWM2YTY0OWE5NGZmOTA2OWZkZjZkNSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.u_iLAe5tYwOIlrpIzVDG7Dq4_M_MeuqL4irKZnwWWHU)
What do you think about this?
Would you be open to a PR adding this or should I fork?
Thanks a mil in advance
Beta Was this translation helpful? Give feedback.
All reactions