core/tests/components/sma/test_sensor.py