I'm going to go to a limb (since you did not provide information that will tell me for sure), but I believe that your sensor declaration uses auto-increment. If this is the case, then installing it before your hand will be completely ignored.
sensor = Table('sensor', metadata,
Column('id', Integer, primary_key = True),
MySQL .
( MySQL), 14 - , . , 14.
, , .
s = new Sensor()
s.id = 14
s.name = 'my sensor'
db.session.add(s)
db.session.commit()
saved_instance = Sensor.query.get(14)
print(saved_instance is not None)
print(s.id)
s.update().\
where(users.c.id==s.id).\
values(id=14)