custom_components/nea_sg_weather/sensor.py
def name(self):
        """Return the friendly name of the sensor."""
        return (
            ("Weather in " + self._region + "ern Singapore")
            if self._region != "Central"
            else ("Weather in " + self._region + " Singapore")
        )
Return the friendly name of the sensor.
Return the friendly name of the sensor.
Return the friendly name of the sensor .
def name(self):
        return (
            ("Weather in " + self._region + "ern Singapore")
            if self._region != "Central"
            else ("Weather in " + self._region + " Singapore")
        )
def name ( self ) : return ( ( "Weather in " + self . _region + "ern Singapore" ) if self . _region != "Central" else ( "Weather in " + self . _region + " Singapore" ) )
Return the friendly name of the sensor.
Return the friendly name of the sensor .
"""Return the friendly name of the sensor."""
self