# Demo switch

Fonte: https://docs.evcc.io/it/smartswitches/demo-switch

For demonstration purposes. Switchable device with a fixed set of values.

## Parametri

| Nome | Descrizione | Predefinito / esempio | |
| --- | --- | --- | --- |
| enabled | Switched on | false |  |
| power | Power | 0 W |  |
| standbypower | Standby power Power values above this value will be considered as charging power and hence status "charging". Negative values deactivate status detection. | 15 W |  |
| integrateddevice | Integrated device Integrated device. No charging sessions |  | avanzato |
| heating | Heating device Shows °C instead of % |  | avanzato |
| icon | Icon Will be displayed in the user interface (car, bike, bus, moped, motorcycle, rocket, scooter, taxi, tractor, rickshaw, shuttle, van, airpurifier, battery, bulb, climate, coffeemaker, compute, cooking, cooler, desktop, device, dishwasher, dryer, floorlamp, generic, heater, heatexchange, heatpump, kettle, laundry, laundry2, machine, meter, microwave, pump, smartconsumer, tool, waterheater) |  | avanzato |

## Esempio di configurazione per evcc.yaml

```yaml
chargers:
    - name: my_smartswitch
      type: template
      template: demo-switch
      enabled: false # Switched on, optional
      power: 0 # Power (W), optional
      standbypower: 15 # Standby power (W), Power values above this value will be considered as charging power and hence status "charging". Negative values deactivate status detection. (optional)
      integrateddevice: # Integrated device, Integrated device. No charging sessions (optional)
      heating: # Heating device, Shows °C instead of % (optional)
      icon: # Icon, Will be displayed in the user interface [car, bike, bus, moped, motorcycle, rocket, scooter, taxi, tractor, rickshaw, shuttle, van, airpurifier, battery, bulb, climate, coffeemaker, compute, cooking, cooler, desktop, device, dishwasher, dryer, floorlamp, generic, heater, heatexchange, heatpump, kettle, laundry, laundry2, machine, meter, microwave, pump, smartconsumer, tool, waterheater] (optional)
```
