BenRoe / MMM-FHEM

A module for the MagicMirror, to display data from FHEM devices.
MIT License
10 stars 14 forks source link

Optional custom readings title #4

Open BenGig opened 7 years ago

BenGig commented 7 years ago

I had a readings alias used somewhere else, which was inconvinient for MM. So I added an option for a configurable readings title. If the option is not used, behavior is as it was, with option title, it gets replaced by the configured string.

Since, if displayed side by side, the default title from FHEM was in front of the readings without any space in between, I also added an option titleSuffix to add ie. a non breaking space.

And btw. I added the CSS for fontawesome and weather icons. If no other module uses them, they were not available and no icons appeared.