I have seen requests (over a year ago, with no answers) - is there any way of choosing the switch functional type - I have light switches through different methods, whilst I can select the icon as a lamp, they show with the 2 different switch patterns, I have done some searching but cannot see a way of selecting a binary switch type :
If your switch does not have state feedback (i.e. home assistant can’t tell what state the switch is in) you will be presented with the lightning flash type interface. If you want the switch icon instead you can either find a way to provide state to the switch or use customize and assumed state: https://www.home-assistant.io/docs/configuration/customizing-devices#assumed_state
The downside to this is that the Home Assistant switch and the switch real state can get out of sync if the switch is controlled by anything other than Home Assistant.
Thanks for a swift response. In this case it was a mqtt switch (a flashed Sonoff ESP8266 - The switch can be controlled outside HA, by the button on the unit.), I had set a state_topic and (for reasons I cannot remember but possibly as the state was taking too long to be updated by MQTT) I had set optimistic: true. Removing the optimistic line to allow it to default (to false) as there is a state_topic, reset the switch back to the toggle component in the entities card.
All entities now meeting my OCD needs and showing with the toggle!