Change switch icon on state change

I have a switch (or 3 actually) for my garden water sprinklers

- platform: mqtt
  name: "WaterTuin_Voortuin_Moestuin"
  state_topic: "WaterTuin/gpio/14"
  command_topic: "WaterTuin/gpio/14"
  payload_on: 1
  state_on: 1
  payload_off: 2
  state_off: 2
  optimistic: 'false'
  retain: 'true'
  icon: mdi:water

and en entities card

entities:
  - entity: switch.watertuin_voortuin_moestuin
    name: Voor- en Moestuin
  - entity: switch.watertuin_bamboehaag
    name: Bamboehaag
  - entity: switch.watertuin_achtertuinhoek
    name: Achterthuin hoek
title: Bewatering
type: entities

Is it possible to change the icon on the card to mdi:water when state is 1 and mdi:water-off when state is 2?

Custom button card can do this. See the below link for an example.