added basic attributes including target_power, but pwm not working yet