Control widgets
Button, switch and light
{"id":"entry-light","type":"light","entity":"light.entry","title":"Entry","icon_on":"lightbulb","icon_off":"lightbulb_outline"}
type is button, switch or light; id and entity/entity_id are required. Optional fields are title, icon, icon_on, icon_off, grid, theme and condition options. A tap toggles through the typed domain service. A long press on light.* opens brightness, RGB/HS/XY, colour temperature and effect_list where the entity reports those capabilities.
Cover
{"id":"blind","type":"cover","entity":"cover.entry","title":"Blind","show_position":true,"step":10}
Supported options are title, icon, icon_open, icon_closed, show_position, step, open_service, close_service, stop_service and position_service. The card offers open, stop, close and — with reported position support — a slider for current_position/position.
Fan
{"id":"fan","type":"fan","entity":"fan.bedroom","title":"Fan","show_percentage":true,"show_presets":true}
Options are title, icon, show_percentage, percentage_step, show_presets, show_oscillate and show_direction. The card only uses offered capabilities: on/off, percentage, preset_modes, oscillating and direction.
Climate
{"id":"heating","type":"climate","entity":"climate.entry","title":"Heating","show_current":true,"show_humidity":true,"temperature_step":0.5}
Options are title, icon, show_current, show_target, show_humidity, temperature_step, min_temp, max_temp, show_hvac_modes, show_fan_modes, show_preset_modes, show_swing_modes and show_swing_horizontal_modes. RustyHAMA honours entity hvac_modes, fan_modes, preset_modes, swing_modes, swing_horizontal_modes, temperature limits and unit.
Select and text field
{"id":"mode","type":"select","entity":"input_select.house_mode","title":"Mode","icon":"list"}
select, alias entity_select, reads options from select.* or input_select.* and uses select_option. Options: title, icon, placeholder, show_state. textfield displays an input for compatible text entities; options: title, entity/entity_id, hint, input_type, max_length, submit_text. If a domain has no typed write operation, the field remains read-only.