I was setting up a file sensor (core/homeassistant/components/file at dev · home-assistant/core · GitHub) and found out that ‘icon’ is an invalid option. I also see that there is no availability or device class option.
My request is to at least add the ‘icon’ option to the file sensor. Other options such as unique_id, availability, device_class, state_class and scan_interval might also be nice to have.