This is likely more complex than you are looking for but Tile Builder is designed for integrating the state of multiple devices into a single tile. In the case you describe I think the Rooms module might be the best fit. Here is a motion sensor example showing both states:
You can do this with the standard Tile Builder.
To add control you must either add a Maker API link or layer a control on top of the tile. I do the latter and use a blue dotted square for that purpose.
Here a tile for my Front and Back doors to give me more and better status.
For this you would need Tile Builder Advanced.
For more information this is the main Tile Builder thread.