Dimming Philips hue from lovelace dashboard

Simple question how do I dim my lights in Dashboard ? And make groups? Will make a card for every room with light and Sonos, so will make it with lights and possibility to dim from Lovelace