Thanks works perfectly
@Turbo4door - If it helps this is how Iβve just done it based on what mode my heating system is in, using Dans tip from above:
:host {
--primary-text-color: {% if is_state_attr("climate.wiser_living_room", "is_boosted", true) -%} red
{% elif is_state_attr("climate.wiser_living_room", "is_heating", true) -%} #FF9800
{% endif %};
}